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

山水先生优化小护士精简版

发布时间:2022/8/19 15:20:01  浏览次数:
山水先生优化小护士精简版
源码是:

DRAWGBK(c>1,colorrgb(0,0,0),colorrgb(0,0,200),1),colorf80606;
VarTIME:=IF(YEAR>=2050 AND MONTH>=11 AND DAY>=07,0,1);
VarDTIME:=IF(YEAR=2050 AND MONTH=11 AND DAY=06,1,0);
DRAWTEXT(VarDTIME,115,''),COLOR008000;
DRAWTEXT(VarDTIME,100,''),COLOR008000;
DRAWTEXT(VarDTIME,85,''),COLOR008000;
DRAWTEXT(VarDTIME,70,''),COLOR008000;
DRAWTEXT(VarDTIME,45,''),COLOR008000;
qw1:=(HIGH+LOW+CLOSE*2)/4*VarTIME; 
qw3:=EMA(qw1,10)*VarTIME; 
qw4:=STD(qw1,10)*VarTIME; 
qw5:=(qw1-qw3)*100/qw4*VarTIME; 
qw6:=EMA(qw5,5)*VarTIME; 
rk7:=EMA(qw6,10)*VarTIME; 
涨:EMA(qw6,10)+100/2-5,linethick1,colorred; 
跌:EMA(涨,4),linethick1,colorFFFF34; 
多线:IF(cross(涨,跌) and 跌<-10,30,0),linethick1,COLORFF00FF; 
空线:IF(cross(跌,80),70,100),color0099ff,linethick1; 
买1:ema(跌,4)*VarTIME,colorwhite; 
买2:ema(买1,4)*VarTIME,colorgreen; 
买m3:=ema(买2,4)*VarTIME,coloryellow; 
买m4:=ema(买m3,4)*VarTIME,colorcc9900; 
-10,pointdot,color888888,linethick2; 
80,pointdot,color888888,linethick2; 
STICKLINE(涨<REF(涨,1)*VarTIME,涨,MA(涨,3),0,0 ),colorwhite; 
STICKLINE(涨<REF(涨,1)*VarTIME,涨,MA(涨,3),8,0 ),COLOR008800;
STICKLINE(涨<REF(涨,1)*VarTIME,涨,MA(涨,3),7,0 ),COLOR009900;
STICKLINE(涨<REF(涨,1)*VarTIME,涨,MA(涨,3),6,0 ),COLOR00AA00;
STICKLINE(涨<REF(涨,1)*VarTIME,涨,MA(涨,3),5,0 ),COLOR00BB00;
STICKLINE(涨<REF(涨,1)*VarTIME,涨,MA(涨,3),4,0 ),COLOR00CC00;
STICKLINE(涨<REF(涨,1)*VarTIME,涨,MA(涨,3),3,0 ),COLOR00DD00;
STICKLINE(涨<REF(涨,1)*VarTIME,涨,MA(涨,3),2,0 ),COLOR00EE00;
STICKLINE(涨<REF(涨,1)*VarTIME,涨,MA(涨,3),1,0 ),COLOR00FF00;

STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),0,0) ,COLOR00BBFF;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),8,0) ,COLOR0011FF; 
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),7,0) ,COLOR0022FF;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),6,0) ,COLOR0044FF;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),5,0) ,COLOR0066FF;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),4,0) ,COLOR0088FF; 
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),3,0) ,COLOR0099FF;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),2,0) ,COLOR00AAFF;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),1,0) ,COLOR00BBFF;
DRAWICON(多线,30,1),COLORFF00FF; 
DRAWICON(cross(跌,80),70,2),colorgreen;
Var811:=SUMBARS(VOL,FINANCE(7)*100)*VarTIME; 
Var822:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL)*VarTIME; 
Var883:=(CLOSE-Var822)/Var822*100*VarTIME; 
Var884:=HHV(Var883,Var811)*VarTIME; 
Var885:=LLV(Var883,Var811)*VarTIME; 

Var886:=(Var883-Var885)/(Var884-Var885)*100*VarTIME; 
K:=SMA(Var886,3,1)*VarTIME; 
D:=SMA(K,3,1)*VarTIME; 
J:=3*K-2*D; 
MA1:=MA(J,3)*VarTIME,colorgreen; 
STICKLINE(filter(J>MA1 AND J<=3,5)=1 and 跌<0,涨,涨+20,6,0),coloryellow;



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