通達信——主力跟蹤副圖預(yù)警指標公式 源碼: ssss1:=1; ssss2:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100*ssss1; ssss3:=SMA(ssss2,3,1)*ssss1; ssss4:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100*ssss1; ssss5:=SMA(SMA(ssss4,2,1)+3*ssss1,2,1); WINNER(MA(CLOSE,5))*100, COLORSTICK; ssss6:=WINNER(MA(CLOSE,5))*100; ssss7:=HHV(HIGH,9)-LLV(LOW,9); ssss8:=HHV(HIGH,9)-CLOSE; ssss9:=CLOSE-LLV(LOW,9); ssssA:=ssss8/ssss7*100-70; ssssB:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; ssssC:=(2*CLOSE+HIGH+LOW)/4; ssssD:=SMA(ssss9/ssss7*100,3,1); ssssE:=LLV(LOW,26); ssssF:=SMA(ssssD,3,1)-SMA(ssssA,9,1); ssss10:=IF(ssssF>100,ssssF-100,0); ssss11:=HHV(HIGH,34); ssss12:=EMA((ssssC-ssssE)/(ssss11-ssssE)*100,16); ssss13:=EMA(ssss12,4); ssss14:=LLVBARS(MA(CLOSE,5),30); 跟蹤線通達信: IF(35+EMA(ssss13,80)<100,35+EMA(ssss13,80),100),COLORYELLOW; 指標公式: WINNER(MA(CLOSE,5))*100,COLORWHITE; 主力最怕: SMA(SMA(ssss4,2,1)+3*ssss1,2,1),LINETHICK2,COLORRED; fffv1: SMA(ssss2,3,1)*ssss1,LINETHICK2,COLORBLUE; fffv2: EMA(ssss12,4),COLORGREEN; |
|