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.
Okay, you have set the line on the daily chart. What if it's on the watch? Will the time of order opening be set by the line or strictly set? Do you need to set the schedule for a month with lines or is an Expert Advisor following my link enough?
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.
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-time EA? Put a pending order and it will work the way you want. And set up EAs on the majors, because the pause will have zero majors.
Reshetov: 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 you
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 =)
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