ok
QuickRef makes two inserts, so if I follow that method:
1) the line:
CODE:
Please log in to see this code.
would include . . . . .,p,RiskStopLevel,"Stop Loss" )
and, equally, the SellAtLimit line would change to:
SellAtLimit(bar+1,p,AutoprofitLevel,ProfitTgt,"profit Target")
is this correct ? (it seems to include one more term than in the example but
I'm reasoning that this is called for)
AND
2)the final segment of the code would read:
RiskStopLevel=(Bar.Close[bar]*(1-0.50/100 d))
AutoProfitLevel=(Bar.Close[bar]*(1+0.41/100 d))
BuyatMarket etc etc
I am working my way to understanding code for scripts so it would be helpful
to know if this is all correct and, if not, what needs changing