Hi,
I need a code for below condition with SL, TSL and TGTs to reflect on intraday chart.
- Entry Price = average (5Days High Ema+5Days Close Ema+5Days Low Ema)/15.
- Stop loss is 30 points of Entry Price (e.g if Entry Price is 8600 then for long SL is 8600-30=8570 and for short SL is 8600+30=8630)
- Trailing stop loss= average (5Hour High Ema+5Hour Close Ema+5Hour Low Ema)/15.
- Targets are 50, 100, 150 and 175 from Entry price.
e.g For long
8600+50=8650
8600+100=8700
8600+150=8750
8600+175=8775
For Short
8600-50=8550
8600-100=8500
8600-150=8450
8600-175=8425