通达信筹码黄金线主图指标公式
2020/11/21 18:38:55
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;
投股 票网 www.tou18 .cn
股市公式下载推荐