N1:=3;
N2:=5;
N3:=13;
N4:=89;
筹码短期: DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,vol/(SUM(AMOUNT,N1)/(AMOUNT/VOL/100)/100));
筹码中期: DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,N2)/(AMOUNT/VOL/100)/100));
筹码长期: DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,N3)/(AMOUNT/VOL/100)/100));
筹码★期: DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT,N4)/(AMOUNT/VOL/100)/100));
VAR2:=100*(MA(CLOSE,13)-REF(MA(CLOSE,13),1))/REF(MA(CLOSE,13),1)>0 OR 100*(筹码中期-REF(筹码中期,1))/REF(筹码中期,1)>0 OR SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,5,1),10,1)>80 OR SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,5,1)>80 OR 3*SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1)-2*SMA(SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1),3,1)>0 OR crOSS(SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,5,1),10,1),SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,5,1));
VAR3:=100*(MA(CLOSE,13)-REF(MA(CLOSE,13),1))/REF(MA(CLOSE,13),1)<0 AND 100*(筹码中期-REF(筹码中期,1))/REF(筹码中期,1)<0 AND 100*(CLOSE-筹码中期)/筹码中期<0;
STICKLINE(VAR2 AND OPEN>=CLOSE,OPEN,CLOSE,7,0), ,COLORRED;
STICKLINE(VAR2 AND OPEN<CLOSE,OPEN,CLOSE,7,1), ,COLORRED;
STICKLINE(VAR2 AND OPEN>CLOSE,HIGH,OPEN,0.8,0), ,COLORRED;
STICKLINE(VAR2 AND OPEN>CLOSE,LOW,CLOSE,0.8,0), ,COLORRED;
STICKLINE(VAR2 AND OPEN<=CLOSE,HIGH,CLOSE,0.8,0), ,COLORRED;
STICKLINE(VAR2 AND OPEN<=CLOSE,LOW,OPEN,0.8,0), ,COLORRED;
STICKLINE(VAR3,OPEN,CLOSE,7,0), ,COLORCYAN;
STICKLINE(VAR3 AND OPEN>CLOSE,OPEN,CLOSE,7,0), ,COLORCYAN;
STICKLINE(VAR3 AND OPEN<CLOSE,OPEN,CLOSE,7,1), ,COLORCYAN;
STICKLINE(VAR3 AND OPEN<=CLOSE,HIGH,LOW,0.8,0), ,COLORCYAN;
STICKLINE(VAR3 AND OPEN>CLOSE,OPEN,HIGH,0.8,1), ,COLORCYAN;
STICKLINE(VAR3 AND OPEN>CLOSE,LOW,CLOSE,0.8,0), ,COLORCYAN;

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