以下是自用指标牧牛场源码

牛熊通道:LLV(MA((LOW+HIGH+CLOSE+O)/4,6),50),PRECIS2,Culor00FF00;
 Vara1:=1.86*MA(CLOSE,5)-MA(CLOSE,20);
趋势:=Vara1;
 LB:=牛熊通道;
STICKLINE( 趋势>=LB,LB,趋势,6,1),Culor0000FF ;
 STICKLINE( 趋势<= REF(趋势,1) AND 趋势>LB,LB ,趋势,6,1 ),CulorFFFFFF;
 STICKLINE(REF(趋势,2)<REF(趋势,1) and 趋势<= REF(趋势,1)AND 趋势>LB,LB ,趋势 ,6 ,1 ),Culor00FFFF;
 STICKLINE(趋势<LB-0.5,LB-0.5,趋势,6,1),CulorFFFF00;

 AMV0:=VOL*(O+C+H+L)/4;
势:EMA(AMV0,21)/EMA(VOL,21);
压:6*HHV(势,2)-5*势;
托:2*势-压;
STICKLINE(CLOSE>势,OPEN,CLOSE,6,1), COLORRED;
 STICKLINE(CLOSE=势,OPEN,CLOSE,6,1), COLORRED;
 STICKLINE(CLOSE>势,LOW,OPEN,0.8,1), COLORRED;
 STICKLINE(CLOSE=势,LOW,OPEN,0.8,1), COLORRED;
 STICKLINE(CLOSE>势,CLOSE,HIGH,0.8,1),COLORRED;
 STICKLINE(CLOSE=势,CLOSE,HIGH,0.8,1),COLORRED;

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