股票公式平台 股票公式 股票软件 手机炒股软件 登录 注册
公式平台网
未来函数检测
首 页 精品公式 通达信公式 大智慧公式 同花顺公式 通达信股票池 大智慧股票池 益盟公式 文华公式 博易大师公式 通达信软件 更多
当前位置:公式平台网同花顺公式 → 正文

低点提示副图,提示周期中最低点

发布时间:2024/2/7 9:20:56  浏览次数:
低点提示副图,
提示周期中最低点
均差提示,短期谨慎使用,中期较稳妥。
源码
VAR1:=CLOSE;n:=42;K:=210;I:=850;
VAR10:=MA((VAR1-MA(VAR1,N)),1);
VAR11:=MA((VAR1-MA(VAR1,K)),1);
VAR12:=MA((VAR1-MA(VAR1,I)),1);
IF (VAR10>0) SV=(VAR10/(HHV(VAR1,N)-MA(VAR1,N)));
IF (VAR10<0) SV=(-VAR10/(LLV(VAR1,N)-MA(VAR1,N)));
IF (VAR11>0) MV=(VAR11/(HHV(VAR1,K)-MA(VAR1,K)));
IF (VAR11<0) MV=(-VAR11/(LLV(VAR1,K)-MA(VAR1,K)));
IF (VAR12>0) LV=(VAR12/(HHV(VAR1,I)-MA(VAR1,I)));
IF (VAR12<0) LV=(-VAR12/(LLV(VAR1,I)-MA(VAR1,I)));
DRAWICON(REF(MV,1)<-0.8 AND CROSS(MV,-0.75),13,1);
DRAWICON(REF(MV,2)<-0.8 AND REF(MV,1)<-0.75 AND REF(MV,1)>-0.8 AND MV>-0.8,13,1);
DRAWICON(REF(MV,1)>-0.8 AND CROSS(-0.8,MV),13,2);
DRAWICON(REF(MV,1)>0.8 AND CROSS(0.75,MV),90,2);
DRAWICON(REF(MV,2)>0.8 AND REF(MV,1)<0.8 AND REF(MV,1)>0.75 AND MV<0.8,90,2);
DRAWICON(REF(LV,1)<-0.8 AND CROSS(LV,-0.75),13,7);
DRAWICON(REF(LV,2)<-0.8 AND REF(LV,1)<-0.75 AND REF(LV,1)>-0.8 AND LV>-0.8,13,7);
DRAWICON(REF(LV,1)>-0.8 AND CROSS(-0.8,LV),13,8);
DRAWICON(REF(LV,1)>0.8 AND CROSS(0.75,LV),90,8);
DRAWICON(REF(LV,2)>0.8 AND REF(LV,1)<0.8 AND REF(LV,1)>0.75 AND LV<0.8,90,8);
DRAWICON(REF(SV,1)<-0.8 AND CROSS(SV,-0.75),13,28);
DRAWICON(REF(SV,2)<-0.8 AND REF(SV,1)<-0.75 AND REF(SV,1)>-0.8 AND SV>-0.8,13,28);
DRAWICON(REF(SV,1)>-0.8 AND CROSS(-0.8,SV),13,30);
DRAWICON(REF(SV,1)>0.8 AND CROSS(0.75,SV),90,30);
DRAWICON(REF(SV,2)>0.8 AND REF(SV,1)<0.8 AND REF(SV,1)>0.75 AND SV<0.8,90,30);
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5/50;
主力撤: IF(V4<=0,V4,0),colorblue;
主力进: IF(V4>=0,V4,0);
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA);
大盘资金进场:
IF(VB>=0,VB,0),coloryellow;
大盘资金撤走:
IF(VB<=0,VB,0);
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线: EMA(V11,3);
趋势顶:90,colorred;
趋势底:13,colorgreen;
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
准备现金: STICKLINE(趋势线<=13,0,10,5,0),COLORCC9900;
AA:=(趋势线<=13) AND FILTER((趋势线<=13),15);
DRAWTEXT (AA,20,'准备现金'),COLORCC9900;
买入股票: STICKLINE(趋势线<=13 AND V12>13 AND ((REF(SV,1)<-0.8 AND CROSS(SV,-0.75) OR (REF(SV,2)<-0.8 AND REF(SV,1)<-0.75 AND REF(SV,1)>-0.8 AND SV>-0.8)
)),0,60,5,0),coloryellow;
买入股票: STICKLINE(趋势线<=13 AND V12>13 AND ((REF(MV,1)<-0.8 AND CROSS(MV,-0.75) OR (REF(MV,2)<-0.8 AND REF(MV,1)<-0.75 AND REF(MV,1)>-0.8 AND MV>-0.8)
)),0,80,5,0),colorblue;
买入股票: STICKLINE(趋势线<=13 AND V12>13 AND ((REF(LV,1)<-0.8 AND CROSS(LV,-0.75) OR (REF(LV,2)<-0.8 AND REF(LV,1)<-0.75 AND REF(LV,1)>-0.8 AND LV>-0.8)
)),0,100,5,0),colorred;
BB:= (趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10) ;
DRAWTEXT (BB,60,'买入股票'),COLOR0099FF;
见顶清仓: STICKLINE(趋势线>=90 AND V12,0,30,5,0),colorred;
CC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);
DRAWTEXT (CC,40,'见顶清仓'),COLOR0099FF;


低点提示副图,提示周期中最低点

增值电信业务经营ICP许可证:合字B2-20230351  粤ICP备2023083431号-1
免责声明:公式平台网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,由此引起的投资亏损与本站无关.
Copyright © 2023 gspt.com , All Rights Reserved.