Running on a Daily Chart
Calculate on bar close
Input:
SMA_Stopp_Void ( bool, default = false ) to switch the stopp function on and off in the strategy
Conditions and Actions:
Tab1
If all:
Position.marketPosition = MarketPosition.Long
SMA_Stopp_Void = true
GetCurrentAsk(DefaultInput) < (SMA(7)0)+5)
Do the following:
ExitLong(Position.Quantity,@"SMA_Stopp","")
....Draw....."something" ( not yet defined )
Tab2
vice versa for Short Position
---------------------
nothing happens?
Comment