搏击主图指标公式(非常好的主图指标公式)[其他软件公式]
相关标签:
搏击主图{n=1,100,3; m1=1,100,20; m2=1,100,20}
input:n(3),m1(20),m2(20);MID:((1+M1/100)*MA(CLOSE,N)+(1-M2/100)*MA(CLOSE,N))/2,colorffffff;
RSV:=((HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13)))*(100);
LWR1:=SMA(RSV,3,1);
LWR2:=SMA(LWR1,5,1);
STICKLINE((LWR1>=LWR2),HIGH,LOW,0.05,0),ColorFFDDC0;
STICKLINE((LWR1>=LWR2),OPEN,CLOSE,5,0),ColorFFDDC0;
STICKLINE((LWR1<LWR2),HIGH,LOW,0.05,0),Color0000FF;
STICKLINE((LWR1<LWR2),OPEN,CLOSE,5,1),Color0000FF;
CXH1aa:=((2)*(CLOSE)+OPEN+HIGH+LOW)/(5);
CXH2aa:=VOL;
上升:(SUM((CXH1aa)*(CXH2aa),8))/(SUM(CXH2aa,8)),Colorred;
下降:LLV(上升,8),Color00FF00;
CXH3aa:=IF((CLOSE>REF(CLOSE,1)),88,0);
CXH4aa:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (CXH3aa>0),91,0);
DRAWTEXT(FILTER((CXH4aa>90),45),(LOW)*(0.94999998),'大胆搏 '),Color00FFFF;
DRAWTEXT(FILTER((CXH4aa>90),35),(LOW)*(0.99000001),''),Color00FFFF;
A1aa:=9;
A2aa:=(REF(CLOSE,A1aa+1)<CLOSE);
DRAWTEXT(FILTER((A2aa>-0.5),84),(HIGH)*(1.05),'小心'),ColorFFFFFF;
CXH1:=REF(CLOSE,1);
CXH2:=MA(CLOSE,5);
CXH3:=SMA(MAX(CLOSE-CXH1,0),6,1)/SMA(ABS(CLOSE-CXH1),6,1)*100;
CXH4:=SMA(MAX(CLOSE-CXH1,0),12,1)/SMA(ABS(CLOSE-CXH1),12,1)*100;
CXH5:=SMA(MAX(CLOSE-CXH1,0),24,1)/SMA(ABS(CLOSE-CXH1),24,1)*100;
CXH6:=IF(CROSS(CXH3,CXH5),LOW,REF(LOW,BARSLAST(CROSS(CXH3,CXH5))));
CXH7:=IF(CROSS(CXH5,CXH3),HIGH,REF(HIGH,BARSLAST(CROSS(CXH5,CXH3))));
CXH8:=IF(CLOSE>=MA(CLOSE,20),80,50);
CXH9:=IF(CLOSE>=MA(CLOSE,20),50,20);
CXHA:=IF(CXH3<CXH8 AND REF(CXH3,1)>=CXH8,HHV(REF(HIGH,1),BARSLAST(CXH3>=CXH8 AND REF(CXH3,1)<CXH8)-1),REF(HHV(REF(HIGH,1),BARSLAST(CXH3>=CXH8 AND REF(CXH3,1)<CXH8)-1),BARSLAST(CXH3<CXH8 AND REF(CXH3,1))));
CXHB:=IF(HIGH>CXHA,LOW,REF(LOW,BARSLAST(HIGH>CXHA)));
CXHC:=IF(HIGH>CXHA,CXH3,REF(CXH3,BARSLAST(HIGH>CXHA)));
CXHD:=IF(HIGH>CXHB AND CXH3<CXHC AND CXH3<CXH5,HIGH,REF(HIGH,BARSLAST(HIGH>CXHB AND CXH3<CXHC AND CXH3<CXH5)));
CXHE:=IF(CXH3>CXH9 AND REF(CXH3,1)<=CXH9,LLV(REF(LOW,1),BARSLAST(CXH3<=CXH9 AND REF(CXH3,1)>CXH9)-1),REF(LLV(REF(LOW,1),BARSLAST(CXH3<=CXH9 AND REF(CXH3,1)>CXH9)
-1),BARSLAST(CXH3>CXH9 AND REF(CXH3,1))));
CXHF:=IF(LOW<CXHE,HIGH,REF(HIGH,BARSLAST(LOW<CXHE)));
CXH10:=IF(LOW<CXHE,CXH3,REF(CXH3,BARSLAST(LOW<CXHE)));
CXH11:=IF(LOW<CXHF AND CXH3>CXH10 AND CXH3>CXH5,LOW,REF(LOW,BARSLAST(LOW<CXHF AND CXH3>CXH10 AND CXH3>CXH5)));
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容