Trix Mo System

This is the place to discuss EdgeRater Chart Script

Moderator: Chris White

Post Reply
henry1224
Posts: 457
Joined: Wed Feb 24, 2016 12:04 pm

Trix Mo System

Post by henry1224 »

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);
jwilder
Posts: 1
Joined: Sat Jun 06, 2015 6:30 am

Re: Trix Mo System

Post by jwilder »

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
henry1224
Posts: 457
Joined: Wed Feb 24, 2016 12:04 pm

Re: Trix Mo System

Post by henry1224 »

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
Post Reply