以下是同花顺吸星大法公式
同花顺吸星大法公式
N:=9;
M1:=3;
M2:=3;
P:=9;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);
VAR5:=LLV(LOW,13);
VAR6:=HHV(VAR4,13);
VAR7:=IF(MA(CLOSE,34),1,0);
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;
VAR9:=IF(VAR8>100,100,VAR8);
吸筹:VAR9,LINETHICK2,COLORF00FF0;
STICKLINE(VAR9>-120,0,VAR9,8,1),coloryellow;
快线:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,colorred;
慢线:=SMA(快线,M1,1);
空:=SMA(慢线,M2,1),COLOR00FF00;
牛股:=IF(BARSLAST(CROSS(慢线,空))<P AND CROSS(慢线,空) AND 慢线<20,1,0);
VAR10:=IF(BARSLAST(CROSS(慢线,快线))>=3 AND CROSS(快线,慢线) AND 慢线<30,1,0);
STICKLINE(VAR10,0,20,5,0),colorred;
DRAWICON(VAR10>0,10,7);
SALE:=IF(BARSLAST(CROSS(快线,慢线))>=4 AND CROSS(慢线,快线) AND 快线>50,1,0);
STICKLINE(SALE,80,100,7,1),COLOR00FF00;
DRAWICON(SALE>0,90,8);
A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
d:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
长期线:A+100,color9900FF;
短期线:B+100,color888888;
中期线:d+100,coloryellow;
顶部区域:=(中期线80) AND (REF(短期线,1)>95 OR REF(短期线,2)>95 ) AND 长期线>60 AND 短期线<83.5
AND 短期线<中期线 AND 短期线<长期线+4,colorAAAAAA,PRECIS0;
顶部:=FILTER(顶部区域,4);
底部区域:=(长期线<12 AND 中期线<8 AND (短期线<7.2 OR REF(短期线,1)REF(中期线,1) OR 短期线>REF(短期线,1)))
OR (长期线<8 AND 中期线<7 AND 短期线REF(短期线,1)) OR (长期线<10 AND 中期线<7 AND 短期线<1),color4080AA ,PRECIS0;
STICKLINE( 底部区域,-4,0,22,0 ),colorgreen;
80,COLOR996699,PRECIS0,LAYER7;
20,colorgreen,PRECIS0,LAYER7;
10,COLORCC6633,LINETHICK2,PRECIS0,LAYER7;
90,COLOR9966FF,LINETHICK2,PRECIS0,LAYER7;
吸星大法抄底:VAR10=1 AND (短期线>长期线) AND (长期线>中期线)AND CROSS(短期线,长期线) AND (短期线>20) AND (长期线10)
AND (长期线>REF(长期线,1) AND 长期线>REF(长期线,2)) AND (中期线>REF(中期线,1) AND 中期线>REF(中期线,2));
{大型股票公式,股票编程,股票技术教程投稿平台-你就是股神,网址:694.cn 备注:如果正文内容没有显示完全的,说明在附件中,请点击‘立即下载’下载该附件!}