牛牛指标网顶底背离副图指标公式
VAR3:=SMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100,3,1),3,1)/28.57;
VAR5:=3*VAR3-2*EMA(VAR3,5);
AA:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O;
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=LLV(LOW,13);
VAR8:=HHV(HIGH,13);
VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);
VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);
一笑决策:EMA(0.382*REF(VAR9,2)+0.618*VAR9,12),COLORMAGENTA,LINETHICK2;
八字解盘:VAR9,COLORRED,POINTDOT;
STICKLINE(VAR9>VARA,VAR9,VARA,6,0),COLORRED;
STICKLINE(VAR9<=VARA,VAR9,VARA,6,0),COLORGREEN;
DRAWTEXT(AA,24,'可买'),COLORYELLOW;
命里有财:EXPMEMA(一笑决策,15),COLORYELLOW,LINETHICK2;
心好财来:MA(命里有财,45),COLORLIBLUE,LINETHICK2;
VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
波断好:SMA(VAR1,3,1),COLORRED;
金叉票:MA(波断好,3),COLORGREEN;
RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;
K:=SMA(RSV,14,1),COLORRED,LINETHICK2;
{顶底背离}{牛牛指标网提供 www.tdx001.com}
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'底背离'),COLORRED;
{DRAWICON(CROSS(FF,MA15),(LOW * 0.99),7); }
{顶背离}
RSI1:=((SMA(MAX((CLOSE - (REF(CLOSE,1))),0),3,1) / SMA(ABS((CLOSE - (REF(CLOSE,1)))),3,1))* 100);
DRAWTEXT(CROSS(88,RSI1) AND (MA(C,3))>(EMA(C,3)) ,(HIGH + 0.3),'顶背离'),COLORGREEN;
{DRAWICON(CROSS(88,RSI1) AND (MA(C,3))>(EMA(C,3)) ,(HIGH + 0.3),8); };
954488073.jpg
|