Auftrag beendet
Spezifikation
I want to create a simple EA that includes the following functions:
1. The Buy / Sell signal comes from the signal of the Object on the chart:
Here are the instructions of the indicator author:
you can enumerate all charts objects and fined only arrows from MA Bounce Indicator. All arrows starts from name% s_Arrow_ where% s is a Signal Code from property, By default it's [MA Bounce]. So search all arrows with name "[MA Bounce] _Arrow_".
const int totalObjects = ObjectsTotal (ChartID ());
for (int index = 0; index <totalObjects; ++ index)
{
const string objectName = ObjectName (ChartID (), index);
if (StringFind (objectName, "[MA Bounce] _Arrow_")! = 0)
{
// Do work with arrow
}
}
1.1: Buy Signal Image:
In attact file
1.2: Signal Sell Image:
In attact file
1.3: Object list Image:
In attact file
2. EA has a Magic Number.
3. EA has input and uses Stoploss in pips.
4. EA has input and uses Takeprofit in pips.
5. EA has Trailing Stop with ATR.
6. I need to have the source code of the EA generated.
Thanks you very much.