BF:=PEAK(C,0.1,1);
BF8:MA(BF,8);
前高60:HHV(C,60);
DRAWBAND(前高60,RGB(34,139,34),BF+0.02,RGB(150,10,10));
DRAWBAND(BF,RGB(255,255,0),BF8,RGB(255,255,0));
{ _通达信股票指标公式}
DRAWTEXT_FIX(1,0.5,0.9,0,'用法:股价上穿黄色波峰买入;股价突破有5天以上的绿色平台买入;上升通道波底买入'),COLORYELLOW;
波底:TROUGH(2,0.1,1),COLORLICYAN;
DRAWBAND(波底+0.02,RGB(156,102,31),BF8-0.02,RGB(156,102,31));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);