分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]决策密码优化版(同花顺公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:10.0 KB
官方主页:Home Page
更新时间:2021-07-01 00:10:56
软件简介:

 决策密码优化版,主图源码
 

涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),3,0);
STICKLINE(涨停,O,C,2.5,0),colormagenta,LINETHICK8;
跌停:=IF((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),3,0);
STICKLINE(跌停,O,C,-1,0),colorgreen,LINETHICK1;
STICKLINE(跌停,H,L,0,1),colorgreen,LINETHICK1;
涨停次数:SUM(涨停,BARSSINCE(C)),NODRAW;
Var1:=AMOUNT/VOL;
A:=SMA(Var1,5,1)-SMA(Var1,55,1);
B:=SMA((A-SMA(A,5,1)),5,1);
STICKLINE(C,H,L,0,1),colorgreen;
STICKLINE(C>=O,O,C,8,1),colorgreen;
STICKLINE(C<O,O,C,8,0),colorgreen;
STICKLINE(CLOSE>MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1),H,L,0,1),colorred;
STICKLINE(CLOSE>MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1) AND C>=O,O,C,8,1),colorred;
STICKLINE(CLOSE>MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1) AND C<O,O,C,8,0),colorred;
STICKLINE(CLOSE<MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1),H,L,0,1),colorwhite;//白色1
STICKLINE(CLOSE<MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1) AND C>=O,O,C,8,1),colorwhite;
STICKLINE(CLOSE<MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1) AND C<O,O,C,8,0),colorwhite;
STICKLINE(A<REF(A,3) AND B<REF(B,3),H,L,0,1),colorgreen;
STICKLINE(A<REF(A,3) AND B<REF(B,3) AND C>=O,O,C,8,1),colorgreen;
STICKLINE(A<REF(A,3) AND B<REF(B,3) AND C<O,O,C,8,0),colorgreen;
STICKLINE(A>REF(A,1) AND B<REF(B,1),H,L,0,1),color99ccff;//白色2   也可以自己改为白色,我只是为了区别一下三种不同的白色,用了一个不同的颜色
STICKLINE(A>REF(A,1) AND B<REF(B,1) AND C>=O,O,C,8,1),color99ccff;
STICKLINE(A>REF(A,1) AND B<REF(B,1) AND C<O,O,C,8,0),color99ccff;
STICKLINE((A<REF(A,1) AND B>REF(B,1)),H,L,0,1),colordddddd;//白色3
STICKLINE((A<REF(A,1) AND B>REF(B,1)) AND C>=O,O,C,8,1),colordddddd;
STICKLINE((A<REF(A,1) AND B>REF(B,1)) AND C<O,O,C,8,0),colorddddd;
VAR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
VAR2:=(REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR3:=(REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR4:=(REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR5:=(REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR6:=(REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR7:=(REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR8:=(REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR9:=(REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARA:=(REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VARB:=(REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARC:=(REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
红色持股:=EMA(C,60);
STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,O,0,1),colorred;
STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,O,0,0),colorred;
STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,O,0,0),colorred;
STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,O,0,0),colorred;
STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,C,O,0.1,0),COLORFF9966;
VARD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));
VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR11:=(REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR13:=(REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR15:=(REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
VAR17:=(REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
青色观望:=EMA(C,3);
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),4,0),colorgreen;
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),3,0),colorgreen;
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),2,0),colorgreen;
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),1,0),colorgreen;
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),0,0),colorgreen;
STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,C,O,0.1,0),colorgreen;
VAR19:=((REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1)) AND VAR1);
黄s短买:=EMA(C,10);
STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),4,0),COLORFF00FF;
STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3,0),COLORFF00FF;
STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLORFF00FF;
STICKLINE(VAR19,REF(CLOSE,1),LOW,3,0),COLORFF00FF;
VAR1A:=((REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1)) AND VARD);
品红离场:=EMA(C,22);
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),4,0),colorblue;
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),colorblue;
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),2,0),colorblue;
STICKLINE(VAR1A,REF(CLOSE,1),H,1,0),colorblue;
AMV0:=VOL*(O+C)/2;
生命线:SUM(AMV0,89)/SUM(VOL,89),COLORFF00FF,LINETHICK2;
CG:MA(C,21),COLORFFCC66,LINETHICK2;
FL:=HHV(CG,2);
持股线:HHV(CG,2),colorwhite;
FS:CG-(FL-CG),coloryellow,LINETHICK2;
量能饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100),NODRAW;
Var1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
B1:=MA(C,1);
B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1);
SMA2:=MA(B2,4);
FILLRGN(b2,sma2,b2>sma2,RGB(255,0,250),b2<sma2,RGB(0,100,250));
V1:=MA(C,5)=HHV(MA(C,5),20);
V2:=MA(C,5)>MA(C,10);
V3:=MA(V,5)>MA(V,40)*1.01;
V4:=COUNT(MA(C,1)>REF(C,1),2)=2;
VV:=V1 AND V2 AND V3 AND V4;
A1:=EMA(CLOSE,8);
A2:=EMA(A1,20);
A3:=CROSS(A1,A2);
A4:=A1<EMA(CLOSE,120);
STICKLINE((A3 AND A4)OR(V1 AND V2 AND V3 AND V4),B1*1.03,B1*1.120,1,0),coloryellow,LINETHICK1;
 
关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:62.50000 毫秒