[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 387
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
Thank you for your attention, but I do not understand your question. You can set the line for any date, and when the chart reaches it, the EA will trigger? Or maybe I do not understand something, if you don't mind explaining it.
Help, please! The https://www.mql5.com/ru/code/10067 indicator needs to be converted into a simple working EA (as an example). Prinzip of action:
On the pair on which the EA will be thrown, as soon as the value is equal to 0.9570, open a market order to sell 0.1 lot with a majic number (so that EAs in different windows do not confuse orders), Stop-Loss 100p, Take-Profit 200p.
Professionals, we cannot do without you!
Help a beginner!
kolyango:
On the pair on which the EA will be thrown, as soon as the value equals 0.9570, open a market order to sell 0.1 lot with a majic number (so that EAs in different windows do not confuse orders), Stop-Loss 100p, Take-Profit 200p.
Help for a beginner!What is the point of writing a one-off EA? Put a pause and it will trigger itself the way you want it to. And configure the EAs for the majors, because the pause will have zero majors.
I need to figure out how to make this out of an indicator...
what is the problem? The problem is that the order does not always open when the line is crossed, i.e. sometimes it does and sometimes it does not... Although it works on the same principle...
I think the error is in isCrossed, but i cannot find it there... I deleted some part of the code (where I save some data into arrays), because it overloads the code, but if i need it, i will also be glad to share it with youHello.
Can you tell me how to describe the crossing of the main line and the signal line of the stochastic?
Something like this, in my mind
one more question, why program says that object exists, when in fact it doesn't (I just look at monitor and don't see object clearly)
iBarShift(Symbol(),TF,ArrayH[1]) - gives the bar number, I checked it all through Print(). But GetLastError gives me error 4200 - I don't understand what's what =)
I need to figure out how to make this from an indicator...
You can't do it from an indicator