Advanced Get Osc

A forum for all EdgeRater users

Moderator: Chris White

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

Advanced Get Osc

Post by henry1224 »

Here is my version of an Advanced Get Oscillator


Length1:=5;
length2:= 17;
length3:=5;
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, Data1,0),ColorLime;
BullFall: If(Con1 & Con4, Data1,0),ColorGreem;
BearFall: If(Con2 & Con4,Data1,0),ColorRed;
BearRise: If(Con2 & Con3, Data1,0),ColorDarkRed;

Upper: MA(MA(Price,Length1)-MA(Price,Length2),34)+(1.3185*STD(MA(Price,Length1)-MA(Price,Length2),34)),Width2,colorViolet;
Lower: MA(MA(Price,Length1)-MA(Price,Length2),34)-(1.3185*STD(MA(Price,Length1)-MA(Price,Length2),34)),Width2,ColorViolet;




You can change the lengths to 5/17/5 or 5/34/5 or 10/70/10
henry1224
Posts: 457
Joined: Wed Feb 24, 2016 12:04 pm

Re: Advanced Get Osc

Post by henry1224 »

here is a chart of the AGet indicators,

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

Re: Advanced Get Osc

Post by henry1224 »

here are the events for these indicators

Length1:=5;
length2:= 17;
length3:=5;
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(data1,Data2);
************************************************************************************************
Length1:=5;
length2:= 17;
length3:=5;
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(data2,Data1);
****************************************************************************************
Length1:=5;
length2:= 17;
length3:=5;
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(data1,UZ);
***********************************************************************************************
Length1:=5;
length2:= 17;
length3:=5;
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(data1,LZ);
**********************************************************************************************
Length1:=5;
length2:= 17;
length3:=5;
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(UZ,Data1);
***************************************************************************
Length1:=5;
length2:= 17;
length3:=5;
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(LZ,Data1);
**********************************************************************************
Length1:=5;
length2:= 17;
length3:=5;
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);
**************************************************************************************************
Length1:=5;
length2:= 17;
length3:=5;
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(BullFall,.5);
**********************************************************************************
Length1:=5;
length2:= 17;
length3:=5;
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(BearRise,.5);
********************************************************************************************
Length1:=5;
length2:= 17;
length3:=5;
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(BearFall,.5);
**************************************************************************
Length1:=5;
length2:= 34;
length3:=5;
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(data1,Data2);
************************************************************************************************
Length1:=5;
length2:= 34;
length3:=5;
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(data2,Data1);
****************************************************************************************
Length1:=5;
length2:= 34;
length3:=5;
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(data1,UZ);
***********************************************************************************************
Length1:=5;
length2:= 34;
length3:=5;
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(data1,LZ);
**********************************************************************************************
Length1:=5;
length2:= 34;
length3:=5;
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(UZ,Data1);
***************************************************************************
Length1:=5;
length2:= 34;
length3:=5;
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(LZ,Data1);
**********************************************************************************
Length1:=5;
length2:= 34;
length3:=5;
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);
**************************************************************************************************
Length1:=5;
length2:= 34;
length3:=5;
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(BullFall,.5);
**********************************************************************************
Length1:=5;
length2:= 34;
length3:=5;
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(BearRise,.5);
********************************************************************************************
Length1:=5;
length2:= 34;
length3:=5;
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(BearFall,.5);
**************************************************************
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(data1,Data2);
************************************************************************************************
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(data2,Data1);
****************************************************************************************
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(data1,UZ);
***********************************************************************************************
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(data1,LZ);
**********************************************************************************************
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(UZ,Data1);
***************************************************************************
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(LZ,Data1);
**********************************************************************************
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);
**************************************************************************************************
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(BullFall,.5);
**********************************************************************************
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(BearRise,.5);
********************************************************************************************
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(BearFall,.5);
henry1224
Posts: 457
Joined: Wed Feb 24, 2016 12:04 pm

Re: Advanced Get Osc

Post by henry1224 »

Here is a new version of this indicator, it will plot better

Length1:=5;
length2:= 17;
length3:=5;
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, Data1,0),ColorLime;
BullFall: If(Con1 & Con4, Data1,0),ColorGreem;
BearFall: If(Con2 & Con4,Data1,0),ColorRed;
BearRise: If(Con2 & Con3, Data1,0),ColorDarkRed;

Upper: MA(MA(Price,Length1)-MA(Price,Length2),34)+(1.3185*STD(MA(Price,Length1)-MA(Price,Length2),34)),Width2,colorViolet;
Lower: MA(MA(Price,Length1)-MA(Price,Length2),34)-(1.3185*STD(MA(Price,Length1)-MA(Price,Length2),34)),Width2,ColorViolet;
FillRgn(1,BullRise,0),Brush#5000FF00;
FillRgn(1,BullFall,0),Brush#50006400;
FillRgn(1,BearRise,0),Brush#508B0000;
FillRgn(1,BearFall,0),Brush#50FF0000;
Post Reply