鳄鱼线(文华指标公式)
Y:=(HIGH+LOW)/2;
AO : =MA(Y ,5 )-MA(Y ,34 );
AO1:=REF(AO,1);
AC:=AO-MA( AO,5);
AC1:=REF(AC,1);
E:REF(SMA(Y,13,1),8);
CHI:REF(SMA(Y,8,1),5),COLORRED;
CHUN:REF(SMA(Y,5,1),3),COLORYELLOW;
STICKLINE(AO1>AO && AC1>AC && CLOSE<OPEN ,OPEN ,CLOSE ,COLORYELLOW ,0 );
DRAWLINE(AO1>AO && AC1>AC && CLOSE<OPEN ,HIGH ,AO1>AO && AC1>AC && CLOSE<OPEN ,LOW ,COLORYELLOW);
STICKLINE(AO1>AO && AC1>AC && CLOSE=OPEN ,OPEN ,CLOSE ,COLORYELLOW ,0 );
DRAWLINE(AO1>AO && AC1>AC && CLOSE=OPEN ,HIGH ,AO1>AO && AC1>AC && CLOSE=OPEN ,LOW ,COLORYELLOW);
STICKLINE(AO1>AO && AC1>AC && CLOSE>OPEN ,OPEN ,CLOSE ,COLORYELLOW ,1);
DRAWLINE(AO1>AO && AC1>AC && CLOSE>OPEN,HIGH ,AO1>AO && AC1>AC && CLOSE>OPEN,CLOSE,COLORYELLOW );
DRAWLINE(AO1>AO && AC1>AC && CLOSE>OPEN,LOW ,AO1>AO && AC1>AC && CLOSE>OPEN,OPEN ,COLORYELLOW );
STICKLINE(AO1<AO && AC1<AC && CLOSE<OPEN,OPEN ,CLOSE ,COLORRED ,0 );
DRAWLINE(AO1<AO && AC1<AC && CLOSE<OPEN,HIGH,AO1<AO && AC1<AC && CLOSE<OPEN,LOW ,COLORRED );
STICKLINE(AO1<AO && AC1<AC && CLOSE=OPEN ,OPEN ,CLOSE ,COLORRED ,0 );
DRAWLINE(AO1<AO && AC1<AC && CLOSE=OPEN ,HIGH ,AO1<AO && AC1<AC && CLOSE=OPEN,LOW ,COLORRED);
STICKLINE(AO1<AO && AC1<AC && CLOSE>OPEN,OPEN ,CLOSE ,COLORRED,1);
DRAWLINE(AO1<AO && AC1<AC && CLOSE>OPEN,HIGH ,AO1<AO && AC1<AC && CLOSE>OPEN,CLOSE,COLORRED);
DRAWLINE(AO1<AO && AC1<AC && CLOSE>OPEN,LOW ,AO1<AO && AC1<AC && CLOSE>OPEN,OPEN ,COLORRED);
STICKLINE(AO1>AO && AC1<AC && CLOSE<OPEN ,OPEN ,CLOSE ,COLORCYAN ,0 );
DRAWLINE(AO1>AO && AC1<AC && CLOSE<OPEN,HIGH ,AO1>AO && AC1<AC && CLOSE<OPEN,LOW ,COLORCYAN );
STICKLINE(AO1>AO && AC1<AC && CLOSE=OPEN,OPEN ,CLOSE ,COLORCYAN ,0 );
DRAWLINE(AO1>AO && AC1<AC && CLOSE=OPEN,HIGH ,AO1>AO && AC1>AC && CLOSE=OPEN,LOW ,COLORCYAN );
STICKLINE(AO1>AO && AC1<AC && CLOSE>OPEN,OPEN ,CLOSE ,COLORCYAN ,1 );
DRAWLINE(AO1>AO && AC1<AC && CLOSE>OPEN ,HIGH ,AO1>AO && AC1<AC && CLOSE>OPEN,CLOSE ,COLORCYAN );
DRAWLINE(AO1>AO && AC1<AC && CLOSE>OPEN,LOW ,AO1>AO && AC1<AC && CLOSE>OPEN,OPEN ,COLORCYAN );
STICKLINE(AO1<AO && AC1>AC && CLOSE<OPEN,OPEN ,CLOSE ,COLORCYAN ,0 );
DRAWLINE(AO1<AO && AC1>AC && CLOSE<OPEN,HIGH ,AO1<AO && AC1>AC && CLOSE<OPEN,LOW ,COLORCYAN );
STICKLINE(AO1<AO && AC1>AC && CLOSE=OPEN,OPEN ,CLOSE ,COLORCYAN ,0 );
DRAWLINE(AO1<AO && AC1>AC && CLOSE=OPEN,HIGH,AO1<AO && AC1>AC && CLOSE=OPEN,LOW ,COLORCYAN );
STICKLINE(AO1<AO && AC1>AC && CLOSE>OPEN,OPEN ,CLOSE ,COLORCYAN ,1 );
DRAWLINE(AO1<AO && AC1>AC && CLOSE>OPEN,HIGH ,AO1<AO && AC1>AC && CLOSE>OPEN,CLOSE ,COLORCYAN );
DRAWLINE(AO1<AO && AC1>AC && CLOSE>OPEN,LOW ,AO1<AO && AC1>AC && CLOSE>OPEN,OPEN ,COLORCYAN );
【分析家公式网提示:本文仅提供源码,并无公式提供下载】
|