Hi!
First of all; my EA is coming along great thanks to mq4l.com & FF.com! Thanks for all the help!
However, i'm afraid i'm stuck again.
- I have a signalup & signaldown value;
Now, I want to add a third "reset" signal. Lets call it;
As soon as a trade is triggered I don't want to take a new trade until signalreset (value 3) shows up.
Is this possible? If so, how do I accomplish this?
I hope my explanation is sufficient, i'm not familiar w/ the coding jargon plus i'm not typing in my mother-tongue.
I hope someone can help me out
~WW
First of all; my EA is coming along great thanks to mq4l.com & FF.com! Thanks for all the help!
However, i'm afraid i'm stuck again.
- I have a signalup & signaldown value;
Inserted Code
double signalup=iCustom(Symbol(),0,"Xochi",1,1); double signaldown=iCustom(Symbol(),0,"Xochi",2,1);
Inserted Code
if (signalup!=EMPTY_VALUE&&signalup!=0) { Order = SIGNAL_BUY; } if (signaldown!=EMPTY_VALUE&&signaldown!=0){ Order = SIGNAL_SELL; }
Now, I want to add a third "reset" signal. Lets call it;
Inserted Code
double signalreset=iCustom(Symbol(),0,"Xochi",3,1);
As soon as a trade is triggered I don't want to take a new trade until signalreset (value 3) shows up.
Is this possible? If so, how do I accomplish this?
I hope my explanation is sufficient, i'm not familiar w/ the coding jargon plus i'm not typing in my mother-tongue.
I hope someone can help me out
~WW