Script looks back for a certain period of time and than enter when price close above that look back period ema. Once enter it does not care for how many times price cross above or below. Once entered, it will either hit percenatage based take profit of stop loss.
@chauhansunil7126, to me it should be 50 for swing or loner trades. for scalping i prefer rising ADX red green crossing up the red one Signal rising and pointing above 25 and price finding support at 5ema but not dropping below 20.
Davexyz
⋅
Thank you for this script - I'm having some success with this strategy and find it to be better than other more complicated take profit scripts. I have a feeling it could be improved if you rewrite the script to use a rma moving average
Which is the best SMA lookback period input entry?