Hi friends,
I trade only price action no any indicator i want help for afl code for my trading idea.
i trade on below assumption.
in intraday trade 30 min chart
dont trade on first candle
If first candle is close green and second candle break high of first candle then buy and stop loss is below first green candle low -2 points target is fixed 50 points for nifty.
If second candle not hit target or stoploss then stoploss trail from first candle low to second candle low.
If first candle is close red and second candle break low of first candle then sell and stop loss is above first red candle high +2 points target is fixed 50 points for nifty.
If second candle not hit target or stoploss then stoploss trail from first candle high to second candle high +2 points.
Please hlep me for code these idea in afl.
I trade only price action no any indicator i want help for afl code for my trading idea.
i trade on below assumption.
in intraday trade 30 min chart
dont trade on first candle
If first candle is close green and second candle break high of first candle then buy and stop loss is below first green candle low -2 points target is fixed 50 points for nifty.
If second candle not hit target or stoploss then stoploss trail from first candle low to second candle low.
If first candle is close red and second candle break low of first candle then sell and stop loss is above first red candle high +2 points target is fixed 50 points for nifty.
If second candle not hit target or stoploss then stoploss trail from first candle high to second candle high +2 points.
Please hlep me for code these idea in afl.