Mql5 open, close - page 2 12 New comment Nine22 2021.02.12 12:03 #11 Vladimir Karputov: How else can you describe it? What is the difference between a bullish bar and a bearish one? Open is greater or less than close... Vladimir Karputov 2021.02.12 12:16 #12 mmee55 : Open is greater or less than close... Excellent! So you need to compare the 'Open' price and the 'Close' price! //--- signal search if(MathAbs(rates[0].open-rates[0].close)>=m_candle_size) { Buy=(rates[0].open<rates[0].close); Sell=(rates[0].open>rates[0].close); } Nine22 2021.02.12 12:52 #13 Vladimir Karputov: Excellent! So you need to compare the 'Open' price and the 'Close' price! The close also needs to be 80points from start... if open is at the start its fine.. but it needs to count 80 from there.. if(MathAbs(rates[0].open=start-rates[0].close)>=m_candle_size) So rates[0].open ..equals start - starting point then rates[0].close ... equals the candle size of 80? Vladimir Karputov 2021.02.12 13:05 #14 mmee55 : The close also needs to be 80points from start... if open is at the start its fine.. but it needs to count 80 from there.. So rates[0].open ..equals start - starting point then rates[0].close ... equals the candle size of 80? It all depends only on your imagination. As you think up - so it will be. 12 New comment
How else can you describe it? What is the difference between a bullish bar and a bearish one?
Open is greater or less than close...
Open is greater or less than close...
Excellent! So you need to compare the 'Open' price and the 'Close' price!
Excellent! So you need to compare the 'Open' price and the 'Close' price!
The close also needs to be 80points from start... if open is at the start its fine.. but it needs to count 80 from there..
So rates[0].open ..equals start - starting point then rates[0].close ... equals the candle size of 80?
The close also needs to be 80points from start... if open is at the start its fine.. but it needs to count 80 from there..
So rates[0].open ..equals start - starting point then rates[0].close ... equals the candle size of 80?
It all depends only on your imagination. As you think up - so it will be.