九毛八公式指标
N1:=9;N2:=34; RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100; 短底:=SMA(RSV,3,1); RSV1:=(CLOSE-LLV(LOW,N2))/(HHV(HIGH,N2)-LLV(LOW,N2))*100; 中底:SMA(RSV1,5,1); 寻底:EMA(EMA((CLOSE-LLV(LOW,240))/(HHV(HIGH,240)-LLV(LOW,240))*100,3),3); 大底:IF(SUM(AMOUNT,10)=LLV(SUM(AMOUNT,10),12) AND 短底<20 and 中底<20 寻底<10,10,0),color9900ff; drawgbk(大底 =10),COLOR9900FF;DRAWTEXT(FILTER(大底=10,9),10,'【大底】'),COLORFFCC00;
编写方法:
N1:=9;N2:=34;
RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100; 短底:=SMA(RSV,3,1); RSV1:=(CLOSE-LLV(LOW,N2))/(HHV(HIGH,N2)-LLV(LOW,N2))*100; 中底:=SMA(RSV1,5,1); 寻底:=EMA(EMA((CLOSE-LLV(LOW,240))/(HHV(HIGH,240)-LLV(LOW,240))*100,3),3); 大底:=IF(SUM(AMOUNT,10)=LLV(SUM(AMOUNT,10),12) AND 短底<20 AND 中底<20 AND 寻底<10,10,0); FILTER(大底=10,9);
20>