大智慧抓板启动主图
{大智慧-主图}
M105:EMA(C,105);
partline(M105,M105>=ref(M105,1),rgb(250,0,250),M105<ref(M105,1),rgb(0,255,255)),linethick1;
VAR6:=(( ABS((OPEN-CLOSE))/(HIGH-LOW))*VOL);
VAR7:=(( (HIGH-IF((CLOSE>OPEN),CLOSE,OPEN))/(HIGH-LOW))*VOL);
VAR8:=(( (IF((CLOSE>OPEN),OPEN,CLOSE)-LOW)/(HIGH-LOW))*VOL);
VAR9:=IF(((VOL/CAPITAL)>0.001),1,EXP(ABS(LOG(((VOL/CAPITAL)*100)))));
JJ:=(3*C+H+L+O)/6;
VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;
TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);
LJL:=FILTER(TJ1,5);
STICKLINE(C,REF(L,BARSLAST(LJL)),REF(L,BARSLAST(LJL)),6,0),COLORred;
STICKLINE(C,REF(C,BARSLAST(LJL)),REF(C,BARSLAST(LJL)),6,0),COLORyellow;
快:=COUNT(CLOSE>REF(CLOSE,2),4)/4*100;
慢:=COUNT(CLOSE>REF(CLOSE,2),6)/6*100;
JC:=(CROSS(快,1) AND 慢<=40) OR (CROSS(慢,20) AND 快<=50);
进场:=IF(FILTER(JC,10),20,0);
DLX:=(EMA(C,17)-REF(EMA(C,17),1));
DLX1:=SUM(DLX,3);
DLX2:=MA(DLX1,5);
S1:=last(DLX1<DLX2 and DLX1<REF(DLX1,1));
S2:=last(DLX1>=DLX2 and DLX1>=REF(DLX1,1));
drawtext(S1>0,H*1.04,STR(S1)),ColorABFF46,LINETHICK1,align1,valign0;
drawtext(S2>0,L*1,STR(S2)),colorfaabec,LINETHICK1,align1,valign0;
{飞狐-主图}
M105:EMA(C,105);
VAR6:=(( ABS((OPEN-CLOSE))/(HIGH-LOW))*VOL);
VAR7:=(( (HIGH-IF((CLOSE>OPEN),CLOSE,OPEN))/(HIGH-LOW))*VOL);
VAR8:=(( (IF((CLOSE>OPEN),OPEN,CLOSE)-LOW)/(HIGH-LOW))*VOL);
VAR9:=IF(((VOL/CAPITAL)>0.001),1,EXP(ABS(LOG(((VOL/CAPITAL)*100)))));
JJ:=(3*C+H+L+O)/6;
VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;
TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);
LJL:=FILTER(TJ1,5);
STICKLINE(C,REF(L,BARSLAST(LJL)),REF(L,BARSLAST(LJL)),6,0),COLORred;
STICKLINE(C,REF(C,BARSLAST(LJL)),REF(C,BARSLAST(LJL)),6,0),COLORyellow;
DLX:=(指数平滑移动平均(收盘价,17)-向前引用(指数平滑移动平均(收盘价,17),1));
DLX1:=求和(DLX,3);
DLX2:=简单移动平均(DLX1,5);
S1:=持续存在(DLX1<DLX2 and DLX1<向前引用(DLX1,1),-1,0);
S2:=持续存在(DLX1>=DLX2 and DLX1>=向前引用(DLX1,1),-1,0);
显示数字(S1>0,最高价*1.02,上一次条件成立位置(S1=0),0),color00FF00,LINETHICK1;
显示数字(S2>0,最低价*1,上一次条件成立位置(S2=0),0),color0000FF,LINETHICK1;
以上只是个 基础 大家可以随意添加均线 或者组合其他条件
|