Download MetaTrader 5

how to add spread on EA

To add comments, please log in or register
muruez
65
muruez  

hi how to add spread on my current EA.

any help

thank you. 

Alain Verleyen
Moderator
32026
Alain Verleyen  
muruez:

hi how to add spread on my current EA.

any help

thank you. 

Meaningless question, sorry.
muruez
65
muruez  
Alain Verleyen:
Meaningless question, sorry.

hi when my EA run i just what my EA print the current spread on chart.

i have some indicator to do that now but i prefer to put this function in to my EA so all will in one program and it will help me to monitor the spread when the market so volatile.

because when market so volatile the spread go crazy.

thank you.   

Alain Verleyen
Moderator
32026
Alain Verleyen  
muruez:

hi when my EA run i just what my EA print the current spread on chart.

i have some indicator to do that now but i prefer to put this function in to my EA so all will in one program and it will help me to monitor the spread when the market so volatile.

because when market so volatile the spread go crazy.

thank you.   

   Comment(StringFormat("Spread = %f",Ask-Bid));
muruez
65
muruez  
Alain Verleyen:

thank you
To add comments, please log in or register