Programming EA

 

Hi,

My Name Is Mike

I am very new on this forum and I trade manually on the forex since 2006.

I have an indicator which is in MT4 that I would like to make a EA (Moving Average) .

I have a Template file which you can put on any diagram. And I all will explain you in detail how to make the EA and all the programming which I would like to have.

Programming 1, 1-2 = When all the line of color blue its to the top them lines red to open a position on the buy (picture-1)

Programming 1, 2-2 = When all lines of red color sound to the top them lines blue to open a position on the sell. ( picture-2 )

Programming 2= To know how to leave an.

Exemple position, EUR/USD

Price S/L T/P Price

1.3600 1.3570 0.000 1.3598

1.3601 0.000 1.3615

1.3602 0.000 1.3616

1.3603 0.000 1.3617

At the time that the position is 15 Pips has the S/L but in profit.

In the ea I want an option (Autopips) is it is the person which choose the number of Pips of its choice from when that the S/L must be in profit because each currency the economic movement is different like Exemple (GBP/JPY, EUR/GBP)

Programming 3= to put an Option in the ea (Stoploss) of loss of our choice at the open first of the position.

Programming 4 = the option in the EA will have to be (Risk) Example

Balance initial ($1000). The level of risk will have to be between 1 and 10 in % For each currency of our choice.

Example (1000-10%=100/100=1 For an Mini-account) (1000-10%=100/100=1/10=0.10 (For a Standard Account)

Programming 5= to put 2 option in the EA.

Standard = True/False

Mini=True/False

Programmation6 = 2 other Option in the EA. (Pips) and (Lots)

(Pips) = True/False= If the person does not want that the lots would be to adjust automatically and want a lots of its choice.

(lots) = the person selected lots of her choice.

Ajustement

Like FXDD, the lots goes up only from 0.10 at the same time. Example the person but 10% of her balance of $1000. The lots will be 0.10 but its balance will be needed would be has 2000$ so that the batches of unit would be has 0.20

Thank you for the assistance and everyone which can succeed in carrying out this EA

Files:
Reason: