P1=5;
P2=35;
MA1:=MA((HIGH+LOW)/2,P1);
MA2:=MA((HIGH+LOW)/2,P2);
OSC:MA1-MA2,LINETHICK0;
UPO:=IF(OSC>=0,OSC,DTSCSYL);
UP: EMA(UPO,P2+P1/1.618),COLORff00ff;
DNO:=IF(OSC<=0,OSC,DTSCSYL);
DN: EMA(DNO,P2+P1/1.618),COLOr009fff;
STICKLINE( OSC>=REF(OSC,1), 0, OSC, 1, 0),colorred;
STICKLINE( OSC<=REF(OSC,1), 0, OSC, 1, 0),COLORBBDD00;
202108202251.jpg
|