通达信高低丈量尺指标公式

尺子长度:=213;
调控:=30;
A:=CONST(HHV(H,尺子长度));
B:=CONST(LLV(L,尺子长度));
AB:=IF(CURRBARSCOUNT<尺子长度,CONST(((A-B)/2)*(70+调控)/100+B),DRAWNULL),LINETHICK2,COLORRED;
DRAWBAND(AB*1.1,RGB(12,22,32),AB*0.9,RGB(12,22,30));
竖:=MONTH>REF(MONTH,1);
STICKLINE(DAY>0,AB*0.94,AB*0.9,0,-1),COLORLIGREEN;
STICKLINE(BARSLAST(竖)=11,AB*0.9,AB,0,-1),COLORRED;
中:AB,LINETHICK2,COLORRED;
天:AB*1.2,COLORLIGREEN,DOTLINE;
地:AB*0.8,COLORLIGREEN,DOTLINE;
高:AB*1.1,LINETHICK2,COLORYELLOW;
低:AB*0.9,LINETHICK2,COLORYELLOW;
STICKLINE(竖,AB*1.1,AB*0.9,0,0),COLORWHITE;
DRAWTEXT_FIX(1,0.1,0.02,0,'直尺判断213个交易日走势,买红线和上黄线以上的强势股,就是只买上行的,红线和下黄线以下下行的弱势股不考虑'),COLORWHITE;
{=======K线=====}
线120:MA(CLOSE,120)COLORMAGENTA,LINETHICK2;
DRAWKLINE(H,O,L,C);

通达信高低丈量尺指标公式

 

大智慧策略终端/职业股民首选分析软件:支持ACE数据,支持L2行情全推数据,支持股票池,超赢数据,价格低廉,支持月季费年费。:

下载地址:https://share.weiyun.com/LPoU0GHu