entries and exit tab errors

A forum for all EdgeRater users

Moderator: Chris White

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

entries and exit tab errors

Post by henry1224 »

Hello Chris,

I have an issue with the entries & exit tab failing to register trades on a symbol list

Here is the code

A1:= (MA((High+Low)/2,5)-MA((High+Low)/2,17))*4;
A2:= (MA((High+Low)/2,5)-MA((High+Low)/2,35))*3;
A3:= (MA((High+Low)/2,10)-MA((High+Low)/2,70))*2;
A4:= (MA((High+Low)/2,25)-MA((High+Low)/2,85)*1);
B:= MA(MA(MA((A1+A2+A3+A4),2),2),2);
Signal:= MA(B,5),ColorBlue;
Con1:= B >= 0;
Con2:= B < 0;
Con3:= B > Ref(B,1);
Con4:= B < Ref(B,1);
BullRise:= If(Con1 & Con3, 1,0),ColorLime;
BullFall:= If(Con1 & Con4, 1,0),ColorGreem;
BearFall:= If(Con2 & Con4, 1,0),ColorRed;
BearRise:= If(Con2 & Con3, 1,0),ColorDarkRed;
ZeroLine:0,ColorBlack;
UZ:= MA(B,34)+(1.3185*Std(B,34)),Width2,ColorViolet;
LZ:= MA(B,34)-(1.3185*Std(B,34)),Width2,ColorViolet;
Event:Cross(BullRise,.5);


now this code plots on a chart and gives a signal with a template, but it doesn't give any signals on the entry & exit tab

It does not occur with other code ie:

Length1:=10;
length2:= 70;
length3:=10;
Price:= (H+L)/2;
data1:= MA(Price,Length1)-MA(Price,Length2);
data2:= EMA(MA(Price,Length1)-MA(Price,length2),Length3),colorBlue;
Con1:= Data1 >= 0;
Con2:= Data1 < 0;
Con3:= Data1 > Ref(Data1,1);
Con4:= Data1 < Ref(Data1,1);
BullRise:= If(Con1 & Con3, 1,0),ColorLime;
BullFall:= If(Con1 & Con4, 1,0),ColorGreem;
BearFall:= If(Con2 & Con4, 1,0),ColorRed;
BearRise:= If(Con2 & Con3, 1,0),ColorDarkRed;
UZ:= MA(MA(Price,Length1)-MA(Price,Length2),34)+(1.3185*STD(MA(Price,Length1)-MA(Price,Length2),34)),Width2,colorViolet;
LZ:= MA(MA(Price,Length1)-MA(Price,Length2),34)-(1.3185*STD(MA(Price,Length1)-MA(Price,Length2),34)),Width2,ColorViolet;
Event:Cross(BullRise,.5);

Do you have any ideas as to why this is happening?

Thanks

Henry
Post Reply