通达信分享类似杨文峰老师的分时图公式
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0,0,' 牢记以下买入原则:'),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.050,0,' 1、追势(强势追).追底(长时间横盘启动追).追时(追涨不追高).追头(追领头羊)'),COLORLIGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.100,0,' 2、高位不买.诱多不买.出货不买.高位放量更不买'),COLORLIGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.150,0,' 3、顺势而为.分批买入.高抛低吸.止盈止损3-5%'),COLORLIGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.200,0,' 4、短线重消息.中线重题材.长线重业绩'),COLORLIGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.250,0,' 5、上午看仔细2.30后买入为最佳选择'),COLORLIGREEN;
DIFZ:=EMA(C,12)-EMA(C,26);
DEAZ:=EMA(DIFZ,9);
MACDZ:=2*(DIFZ-DEAZ);
零轴:DYNAINFO(3)*0.97,NODRAW;
STICKLINE(MACDZ>0,MACDZ*4+零轴,零轴,1,0),COLORRED;
STICKLINE(MACDZ>0 AND MACDZ>REF(MACDZ,1),MACDZ*4+零轴,零轴,1,0),COLORRED;
STICKLINE(MACDZ<0,MACDZ*4+零轴,零轴,1,0),COLORCYAN;
STICKLINE(MACDZ<0 AND MACDZ>REF(MACDZ,1),MACDZ*4+零轴,零轴,1,0),COLORCYAN;
或者直接导入下面的公式即可
导入后在分时主图上面右键选择主图指标分时主图即可,如果自己重命名的,按照你自己的命名选择公式即可
917255547.jpg
|