| / | Forum |
|
DojiSan
2006.09.10 07:07
Hi,
I am using the simple moving average EA. What I would like to find out is how to stop the EA from not trading anymore on the current candle once it has closed position. For example, the moving average i am using is 50 ema and I am using the 1 hour time interval. When I run the EA and the price crosses above the 50 ema, the trigger is set and it opens a long trade position, with target at 2 pips and stop a -10 pips. I am using every tick option when testing. Now, let us say that it reaches the target and takes profit of 2 pips. What I would to do now is for the EA to not trade anymore until the next candle. Right now, if the stop loss or profit is reached and the current candle is not yet finished, then the EA will enter another trade on that candle. I dont want it to do this. Again, I want the EA to not trade anymore until the next candle. Is this possible? Is there a NextCandle() functions? Thanks |
|
Interview with Chayutra Sriboonruang (vixenme) No, i'm not afraid of those lost positions much because i chose USDJPY that always swing up-down. Even it intend to go up but it will come down a bit anyway. Then i believe that i still can get the profit. And also by the concept of multilotscalper this can ensure that the winning possibility is bigger... in my opinion. |
|
Zonker
2006.09.11 02:57
I've seen this done using the assumption Volume[0]==0 on the first tick of the new
bar. Haven't tried it myself though..
|
|
vixenme
2006.09.11 03:49
|