ApplyStop at 10% of ATR/ADR
buy=xxxxxx
sell=xxxxxx
short=xxxxx
cover=xxxxx
ApplyStop(stopTypeTrailing, stopModePoint, (10*ATR(14)/100), True, True );
Is this correct way to apply stoploss at 10% of ATR to long/short entries? If not, kindly provide the correct syntax.
Also, I wanted to use Average Daily Range, but could not find the indicator AFL. Can someone please provide adr code? again 10% of adr stop....though should be same but....gotta ask ;-)
Thanks.
buy=xxxxxx
sell=xxxxxx
short=xxxxx
cover=xxxxx
ApplyStop(stopTypeTrailing, stopModePoint, (10*ATR(14)/100), True, True );
Is this correct way to apply stoploss at 10% of ATR to long/short entries? If not, kindly provide the correct syntax.
Also, I wanted to use Average Daily Range, but could not find the indicator AFL. Can someone please provide adr code? again 10% of adr stop....though should be same but....gotta ask ;-)
Thanks.