介入捕捉启动股抄底时机(通达信公式 副图指标公式 公式、源码 测试图)没(有未来)函数[通达信公式]
相关标签:
V1:=LLV(LOW,10);V2:=HHV(H,25);RSV:=(((CLOSE - LLV(LOW,33)) / (HHV(HIGH,33) - LLV(LOW,33))) * 100);cxh1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;cxh2:=SMA(cxh1,9,1)+100;cxh3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;cxh4:=SMA(cxh3,3,1);cxh5:=SMA(cxh4,3,1)+100;cxh6:=cxh5-cxh2;动能:SMA(RSV,7,1),COLORWHITE,LINETHICK2;运行:SMA(SMA(RSV,7,1),3,1),COLORBROWN,LINETHICK2;趋势: IF(cxh6>45,cxh6-45,0);STICKLINE(REF(趋势,1)< 趋势, 趋势,REF(趋势,1),2,0),COLORMAGENTA;STICKLINE(REF(趋势,1)> 趋势, 趋势,REF(趋势,1),2,0),COLORGREEN;强弱分界:50,COLORFFFFCC;底部:0,COLOR00FFFF;安全:20,COLORFFAA66,LINETHICK1;预警:80,COLORFFAA66,LINETHICK1;顶部:100,COLORFFFF33;Y3:(((CLOSE/COST(13))<=0.8)*10),COLORBLACK;红柱:IF("MACD.MACD">REF("MACD.MACD",1),"MACD.MACD",DRAWNULL),STICK,COLORRED;绿柱:IF("MACD.MACD"<REF("MACD.MACD",1),"MACD.MACD",DRAWNULL),STICK,COLORYELLOW;轨迹:SMA(SMA(SMA(RSV,6,1),5,1),3,1),COLORMAGENTA,LINETHICK2;价位线:=EMA((C-V1)/(V2-V1)*4,4);抄底:ABS((CROSS("MACD.DIF","MACD.DEA")&&"MACD.DEA"<=-0.07)*"MACD.DIF")*1.50,COLORLIMAGENTA;DIF:"MACD.DIF",COLORWHITE;DEA:"MACD.DEA",COLORYELLOW;DRAWTEXT(CROSS(价位线,0.3),20+4,'买'),COLORRED;DRAWTEXT(CROSS(3.5,价位线),100-4,'卖'),COLORGREEN;cxh2Q:=REF(LOW,1);cxh3Q:=SMA(ABS(LOW-cxh2Q),3,1)/SMA(MAX(LOW-cxh2Q,0),3,1)*100;cxh4Q:=EMA(IF(CLOSE*1.3,cxh3Q*10,cxh3Q/10),3);cxh5Q:=LLV(LOW,30);cxh6Q:=HHV(cxh4Q,30);cxh7Q:=IF(MA(CLOSE,58),1,0);cxh8Q:=EMA(IF(LOW<=cxh5Q,(cxh4Q+cxh6Q*2)/2,0),3)/618*cxh7Q;cxh9Q:=IF(cxh8Q>100,100,cxh8Q);强度:IF(DIF>DEA,DIF,DRAWNULL),COLORRED,LINETHICK2;强度2:IF(DEA<DIF,DEA,DRAWNULL),COLORMAGENTA,LINETHICK2;吸筹:STICKLINE(cxh9Q>-120,0,cxh9Q,3,1),COLORYELLOW;AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;AA5:=SMA(AA4,13,8);走势:=CEILING(SMA(AA5,13,8));AA6:=SMA(AA3,21,8);DRAWTEXT(CROSS(动能,23),10,'机会');介入时机选择线:20,COLORYELLOW,LINETHICK2;卖临界:STICKLINE(走势-AA6>85,103,100,15,1),COLORRED,LINETHICK2;主力线:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK1,POINTDOT;WWWcxh99COM:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);超短线:(((主力线-LLV(主力线,21))/(HHV(主力线,21)-LLV(主力线,21)))*(4))*(25),LINETHICK2,COLORLIRED;cxh11:=3;cxh21:=(3)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(2)*(SMA(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1));股价准备启动:IF(CROSS(cxh21,cxh11),100,0),COLORRED,LINETHICK2;DRAWTEXT(ABS(抄底)>0,抄底*1.20,' 抄底'),COLORYELLOW;DRAWICON(ABS(抄底)>0,抄底*1.10,4);DRAWICON(CROSS(DIF,DEA),DEA,1);DRAWICON(CROSS(DEA,DIF),DEA,2);
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容