A:="TRIX(12,20)[TRIX]";
Sell:=(A - Ref(A,1) < 0) &
(MA(A - Ref(A,1),3) <
A - Ref(A,1));
Buy:=(A - Ref(A,1) > 0) &
(MA(A - Ref(A,1),3) <
A - Ref(A,1));
D:If(BarsSince(BUY)<BarsSince(Sell), 1,If(BarsSince(Buy)>BarsSince(Sell),-1,0)),Colorstick;
here are the events
Long
A:="TRIX(12,20)[TRIX]";
Sell:=(A - Ref(A,1) < 0) &
(MA(A - Ref(A,1),3) <
A - Ref(A,1));
Buy:=(A - Ref(A,1) > 0) &
(MA(A - Ref(A,1),3) <
A - Ref(A,1));
D:=If(BarsSince(BUY)<BarsSince(Sell), 1,If(BarsSince(Buy)>BarsSince(Sell),-1,0)),Colorstick;
Event:Cross(D,.5);
Short
A:="TRIX(12,20)[TRIX]";
Sell:=(A - Ref(A,1) < 0) &
(MA(A - Ref(A,1),3) <
A - Ref(A,1));
Buy:=(A - Ref(A,1) > 0) &
(MA(A - Ref(A,1),3) <
A - Ref(A,1));
D:=If(BarsSince(BUY)<BarsSince(Sell), 1,If(BarsSince(Buy)>BarsSince(Sell),-1,0)),Colorstick;
Event:Cross(-.5,D);
Trix Mo System
Moderator: Chris White
Re: Trix Mo System
Hi Henry;
thanks for all of the posting you are doing. Would you let me know where I can use these systems (codes) is it in Edgerater or maybe tos?
thanks
jwilder
thanks for all of the posting you are doing. Would you let me know where I can use these systems (codes) is it in Edgerater or maybe tos?
thanks
jwilder
Re: Trix Mo System
the codes are made to just cut and paste
Start in edgerater Chart designer, in the upper right corner click on chart scripts, click new,
cut and paste the formula into the blank box,
If the formulas have parameters, you would then have to put the into the parameter tab
next name the formula then save the formula
if the formula is an event it can then also be used in the entries and exit tabs
Start in edgerater Chart designer, in the upper right corner click on chart scripts, click new,
cut and paste the formula into the blank box,
If the formulas have parameters, you would then have to put the into the parameter tab
next name the formula then save the formula
if the formula is an event it can then also be used in the entries and exit tabs