Anybody has this working? I have played with this for few hours but can't get it working.
Tried exrem, flip. Just can't get it working. Here is one of my attempted code. //// Buy = Cross(MA(C,10),MA(C,40)); BuyPrice = Open; Sell =0; Short = Cross(MA(C,60), MA(C,15)); ShortPrice = Open; Cover = 0; inposlong = Flip(Buy,Sell); inposshort = Flip(Short,Cover); SLpercent = IIf(inposlong==1,3,IIF(inposshort==1,5,0)); TPpercent = IIf(inposlong==1,7IIF(inposshort==1,10,0)); ApplyStop( 0, 1, SLpercent, 1 ); ApplyStop( 1, 1, TPpercent, 1); ///
