八旗兵主图
ZF:=(EMA(SUM(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)),3),49) * 10)+EMA(C,20);
飞扬古:=(EMA(MA(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)),3),13) * 10000),LINETHICK0,colorFFFFFF;
【康熙帝】:EMA(ZF,34),LINETHICK2,color00FFFF;
ZFF:=(EMA(SUM(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)),3),49) * 10000);
康熙帝:=EMA(ZFF,34),LINETHICK0,color00FFFF;
大1:=MA(ZFF,3);
旗1:=MA(大1,3);
展1:=MA(旗1,3);
大:MA(ZF,3),color66DDFF;
旗:MA(大,3),color666666;
展:MA(旗,3),color888888;
热:MA(展,3),color9900FF;
血:MA(热,3),color7700FF;
染:MA(血,3),color0000FF;
洼1: IF(大 < REF(大,1),大,大),color555555;
洼2: IF(旗 < REF(旗,1),旗,大),color555555;
洼3: IF(展 < REF(展,1),展,大),color555555;
洼4: IF(热 < REF(热,1),热,大),color555555;
洼5: IF(血 < REF(血,1),血,大),color555555;
洼6: IF(染 < REF(染,1),染,大),color555555;
k2:=hhv(h,125);
k1:=llv(l,125);
kk:=(k2-k1)/6;
超跌:=(飞扬古 < (0 - 200));
超跌A:=(((((((REF(超跌,1) OR REF(超跌,2)) OR REF(超跌,3)) OR REF(超跌,4)) OR REF(超跌,5)) OR REF(超跌,6)) OR REF(超跌,7)) AND (CROSS(飞扬古,(0 - 200)) OR CROSS(飞扬古,康熙帝)));
超跌B:=(((大1 < (0 - 300)) OR (旗1 < (0 - 300))) OR (展1< (0 - 300)));
DRAWTEXT(大1 < (0 - 300),k1*0.999,'〓'),color0000ff;
DRAWTEXT(((飞扬古 < (0 - 100)) AND CROSS(飞扬古,康熙帝)),l,'▲'),color0000ff;
STICKLINE(超跌A,h*1.36,h*1.3,6,0),colorFFFF00;
DRAWICON(超跌A,h*1.39,14);
STICKLINE(超跌A,h*1.36,h*1.27,1,0),POINTDOT,colorFFFFFF;
STICKLINE((((超跌B OR REF(超跌B,1)) AND CROSS(飞扬古,康熙帝)) AND (飞扬古 > (0 - 200))),h*1.36,h*1.3,6,0),colorFFFFFF;
DRAWTEXT((((超跌B OR REF(超跌B,1)) AND CROSS(飞扬古,康熙帝)) AND (飞扬古 > (0 - 200))),h*1.38,'▲'),color00ffff;
STICKLINE((((超跌B OR REF(超跌B,1)) AND CROSS(飞扬古,康熙帝)) AND (飞扬古 > (0 - 200))),h*1.36,h*1.27,1,0),POINTDOT,colorFFFFFF;
ARA:=(100 * WINNER(CLOSE));
VARA:=(0.85 * CLOSE);
VARB:=(100 * WINNER(VARA));
高控:=((ARA > 70) OR (VARB > 30));
M1:=((((飞扬古 > 0) AND (飞扬古 > 大)) AND (康熙帝 > REF(康熙帝,1))) AND (康熙帝 < 0));
M2:=(((((飞扬古 > 0) AND (飞扬古 > 康熙帝)) AND (康熙帝 > REF(康熙帝,1))) AND (康熙帝 > 0)) AND 高控);
M3:=(高控 AND (飞扬古 > 0));
A:=DAY=日 and MONTH=月;
DRAWTEXT((A AND (M3 or 大>REF(大,1) and 旗>REF(旗,1) and 展>REF(展,1))),k2,'★'),color0000ff;
DRAWTEXT((A AND (M3 or 大>REF(大,1) and 旗>REF(旗,1) and 展>REF(展,1))),k2*0.99,'██ '),color00FFFF;
DRAWTEXT((A AND (M3 or 大>REF(大,1) and 旗>REF(旗,1) and 展>REF(展,1))),k2*0.99,' $ '),color0000FF;
DRAWTEXT((A AND (M3 or 大>REF(大,1) and 旗>REF(旗,1) and 展>REF(展,1))),k2-kk,'◥ '),color0000FF;
DRAWTEXT((A AND M3),k2-2*kk,'◥ '),colorFFFFFF;
DRAWTEXT((A AND M3),k2-3*kk,'◥ '),colorFF0000;
DRAWTEXT((A AND M3 ),k2*0.99,' 大旗'),color00FFFF;
FD:=(h-l)/3;
OPEN1:=o>FD*2+l;
OPEN3:=o<FD+l;
OPEN2:=not(OPEN1 OR OPEN3);
CLOSE1:=c>FD*2+l;
CLOSE3:=c<FD+l;
CLOSE2:=not(CLOSE1 OR CLOSE3);
DFZD:=CLOSE1 OR (OPEN3 AND CLOSE2);
WQS1:=OPEN2 AND CLOSE2;
KFZD:=not(DFZD OR WQS1);
ZD:=(h+l)/2;
QSXS:=ZD>REF(h,1);
QSXX:=ZD<REF(l,1);
WQS2:=not(QSXS OR QSXX);
S1:=DFZD AND QSXS ;
S2:=KFZD AND QSXX ;
S3:=DFZD AND QSXX;
S4:=KFZD AND QSXS;
S5:=DFZD AND WQS2;
S6:=KFZD AND WQS2;
S7:=WQS1 AND (QSXS OR QSXX OR WQS2);
STICKLINE(1,l,h,0.3,0 ),COLOR00FFFF;
STICKLINE(S2 ,c ,o,5,0 ),COLORFF2020;
STICKLINE(S1,c,o,5 ,0 ),COLOR2020FF;
STICKLINE(S3,c,o,5,0),COLORYELLOW;
STICKLINE(S4,c,o,5,0),COLORffff00;
STICKLINE(S5,c,o,5,0),COLORff00ff;
STICKLINE(S6,c,o,5,0),COLORGREEN;
STICKLINE(S7,c,o,5,0),COLORGRAY;
STICKLINE(1,c,o,2,0),COLORWHITE;
|