int Delay = 3; if(crossOver(LP5,LP10)) SkillLong[0] = Delay; else if(crossUnder(LP5,LP10)) SkillLong[0] = -Delay; if(SkillLong[0] > 0 && crossOver(RSI10,50))) { enterLong(); SkillLong[0] = 0; } else if(SkillLong[0] < 0 && crossUnder(RSI10,50))) { enterShort(); SkillLong[0] = 0; } else SkillLong[0] -= sign(SkillLong[0]);
var *Signals = series(0); if(crossOver(LP5,LP10)) *Signals = 1; else if(crossUnder(LP5,LP10)) *Signals = -1; if(Sum(Signals,3) > 0 && crossOver(RSI10,50))) enterLong(); else if(Sum(Signals,3) < 0 && crossUnder(RSI10,50))) enterShort();
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de