Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 651

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
my code writes a long-ChartID to a temporary Global Variable.
Visually, if you press F3, it shows zero (or another different value).
This happens because the terminal thinks it's a double value and tries to show it, but we gave it long, which is a completely different number format.
If this value is read back as a normal double, it will be a mess.
If it's read by my code, it will be long again (the same one we saved).
If you manually click on this variable in the terminal window, it will be reset because the terminal will detect the swap.
Remove time initialisation in OnInit()
Thank you.
Could you please tell me where the error is. When I call regular fractal, the arrow is put by condition, where it should be, when I call iFreeNumFractals, the condition is fulfilled, there should be an arrow, but there isn't. iFreeNumFractals lines are commented out, settings are set as for regular fractal. Ideally, the picture should be the same if we comment out the lines with regular fractal and uncomment iFreeNumFractals, but...
How do I use the result in CHART_BRING_TO_TOP ?
just like we used CHART_BRING_TO_TOP before
Thank you.
Can you tell me where the error is. Situation is the following, when I call usual fractal, the arrow is put by condition, where it should be, when I call iFreeNumFractals, the condition is fulfilled, there should be an arrow, but it is not. iFreeNumFractals lines are commented out, settings are set as for usual fractal. In theory, the picture should be the same if I comment out the lines with the usual fractal and comment out iFreeNumFractals, but...
Are the iFreeNumFractals indicators with settings like the standard and standard Fractals on the chart?
If so, are their signals the same?
Hello guys, i have in the market three buy orders at one price, price goes up 10 pips, each order has +10 pips i want to lock three sell orders, now how to make these orders are not checked in mcl4 anymore
If you want to be understood - what you want, use punctuation marks in your text. Otherwise, all in one pile - go figure out what you mean...
just as CHART_BRING_TO_TOP was used before
If you want to be understood - what you want, use punctuation marks in your text. Otherwise you've lumped everything into one pile - go figure out what you mean...
We have three buy orders in the market at one price, the price goes up by 10 pips, we have +10 pips for each order, I want to lock three sell orders, now how to make sure that these orders are no longer checked in mcl4
Forum on trading, automated trading systems & strategy testing
Any questions for newbies on MQL4, help and discussion on algorithms and codes
Taras Slobodyanik, 2018.10.07 22:12
GlobalVariableCheck()- checks if this variable already exists, if not, then
GlobalVariableTemp()- creates temporary variable, which will be deleted by itself at next startup.
This point is clear, question why if there is no GP created only temporary and not permanent throughGlobalVariableSet?
Are the iFreeNumFractals indicators with settings like the standard and standard Fractals on the chart?
If there are, do their signals match?
The fractals match completely.
The arrows on the standard fractals on the screenshot
iFreeNumFractals puts the first and the last one, the middle three are absent.