N1:=5;
N2:=10;
{N1(2,250,5)}{N2(2,150,10)}
SHI:=REF(CLOSE,1);
SHOU:SMA(MAX(CLOSE-SHI,0),N1,1)/SMA(Abs(CLOSE-SHI),N1,1)*100;
MAZL:MA(SHOU,N2)*1.2,COLORBROWN;
AA:95,COLORGREEN;
BB:90,COLORCYAN;
CC:45,COLORYELLOW;
DD:80,COLORMAGENTA;
EE:10,COLORRED;
DRAWTEXT(ISLASTBAR,AA,’清仓’);
DRAWTEXT(ISLASTBAR,BB,’减仓’);
DRAWTEXT(ISLASTBAR,DD,’警觉’);

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。