[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 500
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Tell me, if I'm not an expert in programming.
Does this thing look at the history when opening an order or not?
Tell me, if I'm not good at programming.
does this thing look in the history when opening an order or not ?
1) use the SRC tag when inserting code
2) delete what is commented out.
3) tell us what you want to see and what the discrepancy is
1) use the SRC tag when inserting code
2) remove what is commented out
3) tell me what you want to see and what is the discrepancy
src inserted
What is commented out?
there is a discrepancy in the number of profitable deals in the tester, that's why I asked
I want to learn how to draw levels on the chart depending on the indicator values in a separate window. For example, if the MACD crosses level 0 from bottom to top, a line is drawn on the chart according to the Low of the bar where the crossing occurs. When the MACD is crossed from the top downwards, the line on High will be drawn accordingly. I have written something, it compiles without errors, but nothing happens. Can you help me please?
src inserted
I do not know what has been commented
there is a discrepancy in the number of profitable trades in the tester
there are always 2 objects in the match that are compared.
does the tester not match the demo on the same period? For example, because the spread in the tester is different
I want to learn how to draw levels on the chart depending on the indicator values in a separate window. For example, if the MACD crosses level 0 from bottom to top, a line is drawn on the chart according to the Low of the bar where the crossing occurs. When the MACD is crossed from the top downwards, the line on High will be drawn accordingly. I have written something, it compiles without errors, but nothing happens. Please help.
line is at least 2 points ;)
it's one point, the adjacent ones are probably zero. that's why the line has nowhere to be drawn
//Почему выскакивает ощибка если написать просто iLow[i]?
because Low[i] has no "i" at the beginningWhere is that basket?
Is there any way to divide the distance between the two prices into 3-4 parts, not just divide them, but also know the price of each of the resulting parts?
a line is at least 2 points ;)
this is one point, the neighbouring ones are probably zero. therefore there is nowhere to draw the line
because Low[i] has no "i" at the beginningSo, I either need to create a previous point or draw an Arrow instead of a line. Thanks, I'll keep racking my brains.