The first candle after the zero candle
-
Hello
Can you help me...
I want to check the first candle after entering the buy or sell position (zero candle):
1- In buy position: if open. (candle to enter the position) bigger than the close. Be the next candle. Close the position...
2- In the cell position... it should be the opposite...
Can you guide me and what should I do? -
I want to compare the open price of the zero candle (the candle that opened the position) and the close price of the next candles... and if necessary, exit the position...
-
-

-
How many open trades will there be at the same time?
-
one trades
-
The most efficient way is by storing the value of candle 0 into a variable. Then that value can be compared to any other future candle. Are you familiar with variable?