[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 186

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'm curious, what's wrong with my version?
In your version, firstly it falls asleep 300 times in 1 calculation
Secondly, it gets tired of creating a message 600 times on every tick.
And third, it draws this red line on the chart. The red line has a maximum of 0.86, and the green line has a minimum of 1.34
so you can't see the results.
It does draw green, but only at the candle before it closes! Before that, it never does.
Good afternoon.Please help.
How do I find a pattern of bar shifts calculated using this formula? ObjectGetShiftByValue
I don't see any results.
Thank you!!! I'm a lamb!
I think it should only draw if you change StopLoss and/or TakeProfit
I do, the log confirms it.
A question about some of the nuances of calling WinAPI functions.
There is a function GetPrivateProfileStringA.
Import of the function into mql.
Description of one of the parameters:
Question - how to pass "real NULL"?
Passing "mql NULL" (also "" string) got default value instead of list of "keys in section".
I`ve mentioned "real NULL" because I`ve read about similar problem (exactly with this function) on some forum about Basic. The forum was English-speaking (i.e. everything I could understand was not true), and the problem was solved by means of Basics.
well, it changes them on the open bar
As far as I understand, OrderModify() can also change stops on bars other than the open bar? My code (almost all from S. Kovalev's book) is built so that stops are changed not only during the open, but also upon the occurrence of some events:
Please tell me how to assign the time to the indicator line
val1[]. Or tell me how to do it and what to use because I can't figure it out. Laguerre indicator.For example, when line val1[c] crosses 0.45 upwards time value is set in variable TimeBegin and when it crosses downwards time value is set in variable TimeEnd. And so on through the whole graph.
As far as I understand, OrderModify() can also change stops on bars other than the opening bar?