Can you please help me in creating expert adviser for following conditions in pi
Conditions
-
After market opening wait for 5 minutes
-
at that time check the advances and declines on NSE
-
If advances are more than declines then
-
Select the first 20 scrips from Nifty futures list which have advanced based on the top gainers
-
Check the high of the scrip in first five minute candle
-
Buy above the Highest high of the scrip (Buy the scrip which has crossed the highest high made in the first 5 minutes) i.e. buy the scrip after 5 minutes or whenever the scrip crosses that highest high.
-
Put a stop after buying the scrip @ 0.2% of the scrip price.
-
If the SL is not hit then adjust the stop to the next 5 minute candle low.
-
Do this only once during the day.
I will be grateful if you can code this for me or guide me.