潜龙四剑客通达信公式 副图 源码附图

A_1:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
A_2:=POW(MA(LOW,5),2)+MA(LOW,5);
A_3:=POW(MA(HIGH,5),2)+MA(HIGH,5);
A_4:=(A_1-REF(A_2,9))/(REF(A_3,9)-REF(A_2,9))*150+65;
A_5:=SMA(A_4,3,1)*1.5;
A_6:=SMA(A_5,3,1);
A_7:=3*A_5-2*A_6;
A_8:=REF(A_7>300,18)>0;
A_9:=(CLOSE-REF(LOW,32))/(REF(HIGH,3)-REF(LOW,32))*1.2*CLOSE;
A_10:=SMA(A_9,83,1);
A_11:=SMA(A_10,5.5,1.5);
A_12:=REF(A_9,A_11);
A_13:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100<(-6);
A_14:=CLOSE>1.02*REF(CLOSE,1);
A_15:=A_13;
A_16:=REF(CLOSE,1)<(REF(CLOSE,BARSLAST(A_15))+REF(CLOSE,BARSLAST(A_15)+1))/2 AND CLOSE>(REF(CLOSE,BARSLAST(A_15))+REF(CLOSE,BARSLAST(A_15)+1))/2;
A_17:=BARSLAST(A_15)<=7 AND A_14 AND A_16 AND COUNT(A_14,BARSLAST(A_15))=1 AND NOT(HIGH=LOW) AND REF(NOT(HIGH=LOW),BARSLAST(A_15))=1;
A_18:=A_17 AND A_12;
A_19:=(CLOSE+HIGH+LOW)/3;
A_20:=EMA(A_19,10);
A_21:=REF(A_20,1);
A_22:=HIGH/CLOSE<1.01>0;
A_23:=SUM(A_22,1);
A_24:=CROSS(A_20,A_21);
A_25:=SUM(A_24,2)>0;
A_26:=A_25 AND A_18;
小妖:REF(A_26,1)=0 AND A_26 AND A_8;
STICKLINE(小妖,0,5,3,0),COLORFF00FF;
DRAWTEXT(小妖,3,'★小妖'),COLORFF00FF,LINETHICK2;
DRAWICON(小妖,5,5);
 
 
{浪侠音至尊副}
X_1:=BARSLAST(C/REF(C,1)>1.085);
X_2:=IF(REF(LOW,X_1)>REF(HIGH,X_1+1),REF(CLOSE,X_1+1),REF(OPEN,X_1));
X_3:=BETWEEN(X_1,2,13);
X_4:=MA(CLOSE,5)>=X_2 AND CLOSE>X_2 AND CLOSE>=MA(CLOSE,5) AND REF(CLOSE,1)<=REF(MA(CLOSE,5),1) AND LLV(LOW,X_1)<X_2*1.045;
X_5:=REF(X_3,1)>0 AND X_4;
X_6:=CLOSE>1.02*REF(CLOSE,1);
X_7:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100<(-6);
X_8:=REF(CLOSE,1)>(REF(CLOSE,BARSLAST(X_6))+REF(CLOSE,BARSLAST(X_6)+1))/2 AND CLOSE<(REF(CLOSE,BARSLAST(X_6))+REF(CLOSE,BARSLAST(X_6)+1))/2;
X_9:=REF(CLOSE,1)<(REF(CLOSE,BARSLAST(X_7))+REF(CLOSE,BARSLAST(X_7)+1))/2 AND CLOSE>(REF(CLOSE,BARSLAST(X_7))+REF(CLOSE,BARSLAST(X_7)+1))/2;
X_10:=BARSLAST(X_7)<=7 AND X_6 AND X_9 AND COUNT(X_6,BARSLAST(X_7))=1 AND NOT(HIGH=LOW) AND REF(NOT(HIGH=LOW),CROSS(OPEN,X_7))=1;
X_11:=((CLOSE-REF(MA(CLOSE,6),1))/6+MA(CLOSE,6))*1.004;
X_12:=CROSS(CLOSE,X_11) AND X_11>REF(X_11,1);
X_13:=((CLOSE-REF(MA(CLOSE,18),1))/18+MA(CLOSE,18))*1.004;
X_14:=CROSS(CLOSE,X_13) AND X_13>REF(X_13,1);
X_15:=X_12 AND X_10 AND X_5;
X_16:=X_14 AND X_10 AND X_5;
至尊:X_15 OR X_16;
STICKLINE(至尊,0,5,4,0),COLORGREEN;
STICKLINE(至尊,5,10,3,0),COLORYELLOW;
STICKLINE(至尊,10,14.8,2,0),COLORLIMAGENTA;
DRAWICON(至尊,15,13);
 
 
{浪侠至尊副}
X_18:=EMA(CLOSE,2);
X_19:=CROSS(X_18,REF(X_18,1)*1.017);
X_20:=SUM(至尊,60)>0 AND 至尊=0;
浪侠:X_20 AND X_19;
STICKLINE(浪侠,0,13.3,2,0),COLORBLUE;
STICKLINE(浪侠,0,5.6,3,0),COLORYELLOW;
DRAWICON(浪侠,14,28);
 
{浪侠金矿副}
B_1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9); 
B_2:=EMA(B_1,3);                                     
B_3:=REF(B_2,1);                                     
B_4:=CROSS(CLOSE,B_3);                             
B_5:=HHV(HIGH,6);                                   
B_6:=LLV(LOW,6);                                    
B_7:=100-90*(B_5-CLOSE)/(B_5-B_6);
B_8:=100-MA(100*(B_5-CLOSE)/(B_5-B_6),6);
B_9:=CROSS(B_7,MA(B_8,6));
B_10:=REF(CLOSE,1);                                
B_11:=LLV(LOW,3);
B_12:=(CLOSE-B_10)/B_10*100;        
B_13:=LLV(LOW,3);
B_14:=B_12!=LLV(B_12,3) AND CLOSE=LLV(CLOSE,3) AND CLOSE<OPEN AND B_12<REF(B_12,1) AND CLOSE=LLV(CLOSE,3) AND LOW=LLV(LOW,3) AND CLOSE!=LOW;
B_15:=BARSLAST(CLOSE/B_10>1.085);
B_16:=BETWEEN(B_15,1,34);
B_17:=REF(B_16,1)>0;
B_18:=REF(CLOSE>OPEN AND REF(HIGH=CLOSE,1) AND OPEN>B_10,1) OR (OPEN<B_10 AND REF(CLOSE<OPEN,1)  AND CLOSE/B_10<0.97 AND LOW/B_10<0.927) OR (LOW/B_10<1.008 AND CLOSE/B_10<1.0199 AND CLOSE/OPEN<0.955 AND OPEN/CLOSE<1.13 AND REF(HIGH=CLOSE,1)) OR (REF(CLOSE<OPEN,1)
AND (CLOSE<REF(LOW,2)  OR CLOSE/REF(CLOSE,2)<0.945) AND CLOSE/REF(CLOSE,2)<0.965) AND CLOSE/LOW<1.051 AND NOT(HIGH=LOW);
B_19:=REF(REF(CLOSE/REF(CLOSE,4)>=1.13,3) OR REF(CLOSE/REF(CLOSE,3)>=1.1,1) OR REF(CLOSE/REF(CLOSE,4)>=1.073,2) OR REF(CLOSE/B_10>=1.089,1) OR CLOSE/REF(CLOSE,2)>=1.089 OR CLOSE/REF(CLOSE,4)>=1.073 AND COUNT(CLOSE>=OPEN,4)>=1,1);
B_20:=CLOSE/B_10<0.955 OR CLOSE/B_10<0.963 AND REF(CLOSE<OPEN,1)  OR CLOSE/B_10<0.965 AND REF(CLOSE<OPEN,1) OR REF((CLOSE+OPEN)/2,2) OR CLOSE/B_10<0.966 AND CLOSE<REF(OPEN,1) AND LOW<REF(LOW,1);
B_21:=B_18 OR B_19 OR B_20;
B_22:=(CLOSE-B_10)/B_10*100<(-5) AND B_14;
B_23:=B_22 AND B_21;
B_24:=BARSLAST(B_23);
B_25:=B_10<(REF(CLOSE,B_24)+REF(CLOSE,B_24+1))/2 AND CLOSE>(REF(CLOSE,B_24)+REF(CLOSE,B_24+1))/3;
B_26:=B_24<=7 AND CLOSE>1.01*B_10 AND B_25 AND COUNT(CLOSE>1.01*B_10,B_24)=1 AND NOT(HIGH=LOW) AND REF(NOT(HIGH=LOW),B_24)=1;
金矿:B_26 AND B_17 AND B_9 AND B_4;
STICKLINE(金矿,0,10,4,0),COLORLIMAGENTA;
DRAWTEXT(金矿,10,'金矿'),COLORYELLOW,LINETHICK2;
DRAWICON(金矿,10,20);
 


来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图