Forum

Digits need simple help

Hello the ea ist allmost finish i have a little problem i want set in a variable a pip intiger i need this as double example distanz = 300; if(distanz > 0.003 how can i set this with funktion Digits? so that the ea works on euro and JPY ? this is the last thing thx for help if i print the

2 Candels Pause after Trade?

I'm a beginner coder. The strategy is working so far. and In back test I only have one trade at a time now. but there are several trades in a row where sl is triggered each time, these could be bypassed by introducing 2 candels break. How could this be implemented? Can someone write the code