通达信黄粱一梦主图指标公式
LL:=REF(L,1);HH:=REF(H,1);上跳:=L》HH;下跳:=H《LL;
STICKLINE(L》REF(H,1),L,REF(H,1),3.1,-1),COLORRED;
STICKLINE(REF(L,1)》H,REF(L,1),H,3.1,-1),COLORGREEN;
{均线系统}
MA5:MA(CLOSE,5)COLORLIGREEN;
MA13:MA(CLOSE,13),COLORCYAN;
MA55:MA(CLOSE,55),COLORGREEN;
MA144:MA(C,144),COLORYELLOW,POINTDOT;
IF(MA5》REF(MA5,1),MA5,DRAWNULL),LINETHICK2,COLORYELLOW;
IF(MA13》REF(MA13,1),MA13,DRAWNULL),LINETHICK3,COLORMAGENTA;
富:IF(MA55》=REF(MA55,1),MA55,DRAWNULL),LINETHICK4,COLORRED;
贵:IF(MA144》REF(MA144,1),MA144,DRAWNULL),COLORRED,DOTLINE;
{K线分级系统}
ZT:=C》REF(C,1)*1.090 AND C《REF(C,1)*1.150;
DT:=C《REF(C,1)*0.901 AND C》REF(C,1)*0.898;
STICKLINE(ZT,C,O,3,0),COLORYELLOW;
STICKLINE(DT,C,O,3,0),COLORBLUE;
妾:=C》REF(C,1)*1.045 AND C《REF(C,1)*1.065;
妻:=C》REF(C,1)*1.0651 AND C《REF(C,1)*1.0899;
STICKLINE(妾,C,O,3,0),COLORMAGENTA;
STICKLINE(妻,C,O,3,0),COLORRED;
DRAWTEXT(妾,LOW-0.1,‘↖纳妾’),COLORMAGENTA;
DRAWTEXT(妻,LOW-0.1,‘↖娶妻’),COLORRED;
DRAWTEXT(ZT,LOW-0.1,‘↖生子’),COLORYELLOW;
{昨日均线系统}
SST1:=DATE》REF(DATE,1);
SST2:=BARSLAST(SST1)+1;
SST3:=REF(IF(SST2=1,1,SST2),SST2);
SST4:=CONST(REF(HHV(H,SST3),SST2));
SST5:=CONST(REF(LLV(L,SST3),SST2));
SST6:=MA(AMO,SST3)/MA(VOL,SST3)/100;
SST7:=REF(MA((H+O+L+C)/4,SST3),SST2);
SST8:=IF(CAPITAL》0,REF(SST6,SST2),SST7);
昨均:IF(CURRBARSCOUNT《=CONST(SST3+SST2),CONST(SST8),DRAWNULL),COLORYELLOW,LINETHICK3;
DRAWNUMBER(ISLASTBAR,昨均,昨均),COLORYELLOW;
DRAWNUMBER(ISLASTBAR,C,C),COLORMAGENTA;
现价:CONST(C),COLORMAGENTA,DOTLINE;
{黄粱一梦枕中记}
DRAWTEXT_FIX(1,0.00,0.05,0,‘卢生遇道邯郸地,借枕入梦得奇遇’),COLORRED;
DRAWTEXT_FIX(1,0.00,0.10,0,‘清河一娶崔氏女,短褐青马不复去’),COLORGREEN;
DRAWTEXT_FIX(1,0.00,0.15,0,‘荣华窝里享荣华,富贵线上寻富贵’),COLORYELLOW;
DRAWTEXT_FIX(1,0.00,0.20,0,‘妻妾成群枝叶茂,高官厚禄志青云’),COLORCYAN;
DRAWTEXT_FIX(1,0.00,0.25,0,‘富贵易得复易去,梦里一世也惊魂’),COLORYELLOW;
DRAWTEXT_FIX(1,0.00,0.30,0,‘人生八十古来稀,黄粱未熟已轮回’),COLORCYAN;
DRAWTEXT_FIX(1,0.00,0.35,0,‘。..。..。..。..。..。..。..。..。..。..。..。..。..。..。..。..。..。.’),COLORCYAN;
DRAWTEXT_FIX(1,0.00,0.40,0,‘55线为“富”,144线为“贵”’),COLORYELLOW;
DRAWTEXT_FIX(1,0.00,0.45,0,‘粉红;涨幅大于4.5,红色;涨幅大于6.5,黄色;涨停’),COLORYELLOW;
DRAWTEXT_FIX(1,0.00,0.50,0,‘一波行情的初始阶段,妻妾的多少暗含了主力的强弱,行情的长短’),COLORCYAN
(股票知识网zhishi.southmoney.com)
要闻导读
|
||||||||||
|