[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 441
![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
I compile an indicator and it gives an error ')'. - unbalanced right parenthesis - what could be the reason?
File writing error. Correct the code.
the number of brackets "(" and brackets ")" is different
Hi,
How should I make a moving average Expert Advisor open a position not when the chart has crossed the moving average, but when it has crossed the moving average + 10 pips higher. To discard false positives
Thank you
Hi,
How should I make a moving average Expert Advisor open a position not when the chart has crossed the moving average, but when it has crossed the moving average + 10 pips higher. To discard false positives
Thank you
You add a variable to the condition:
Can you tell me how to update the offline chart correctly? You do not need to update the whole chart, but only the last bar.
For example, this is how the chart is updated when using the "HistoryBarsEditor" script https://www.mql5.com/ru/code/10488.
As far as I understand, after editing, the chart is updated due to these bars:
But when I insert the same lines into "synbar" indicator which I want to edit https://www.mql5.com/ru/articles/1353 instead of
the update does not happen.Can you tell me how to update the offline chart correctly? When updating, you don't want the whole chart to be updated, but only the last bar.
see the PeriodConverter script supplied with the terminal
Unfortunately, it too is updated by PostMessageA(hwnd,WM_COMMAND,33324,0); the whole chart is redrawn with a tick.
but the chart can't draw only one bar (a slice of the screen) when updating.
it updates the whole window at once.
If no one answers, it means people don't know what to answer. You don't need to post so many times and copy so much text.