公式指标平台 股票指标公式源码分享 登录 注册
公式指标平台
未来函数检测
首 页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 操盘手公式 东财通公式 飞狐公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式指标平台 > 大智慧公式 > 正文 → 正文

智慧主图135主图指标

发布时间:2016/2/24 6:39:03  浏览次数:

智慧主图135主图指标

源码

N:=21;

LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),N,1))/(SMA(ABS(CLOSE-LC),N,1))*100;
DD:=BARSLAST(CROSS(RSI1,50));
SS:=BARSLAST(CROSS(50,RSI1));
HH1:=REF(HIGH,DD);
HH2:=REF(HIGH,DD-1);
LL1:=REF(LOW,SS);
LL2:=REF(LOW,SS-1);
压力线:MAX(HH1,HH2),DOTLINE,colorwhite;
支撑线:MIN(LL1,LL2),DOTLINE,colorYELLOW;
立春:=FILTER(MONTH=2 AND (DAY=3  OR DAY=5 ),0);
雨水:=FILTER(MONTH=2 AND (DAY=18 OR DAY=20),0);
惊蛰:=FILTER(MONTH=3 AND (DAY=5  OR DAY=7 ),0);
春分:=FILTER(MONTH=3 AND (DAY=20 OR DAY=22),0);
清明:=FILTER(MONTH=4 AND (DAY=3  OR DAY=6 ),0);
谷雨:=FILTER(MONTH=4 AND (DAY=19 OR DAY=21),0);
立夏:=FILTER(MONTH=5 AND (DAY=6  OR DAY=8 ),0);
小满:=FILTER(MONTH=5 AND (DAY=20 OR DAY=22),0);
芒种:=FILTER(MONTH=6 AND (DAY=5  OR DAY=7 ),0);
夏至:=FILTER(MONTH=6 AND (DAY=20 OR DAY=22),0);
小暑:=FILTER(MONTH=7 AND (DAY=6  OR DAY=8 ),0);
大署:=FILTER(MONTH=7 AND (DAY=22 OR DAY=24),0);
立秋:=FILTER(MONTH=8 AND (DAY=7  OR DAY=9 ),0);
处暑:=FILTER(MONTH=8 AND (DAY=22 OR DAY=24),0);
白露:=FILTER(MONTH=9 AND (DAY=7  OR DAY=9 ),0);
秋分:=FILTER(MONTH=9 AND (DAY=22 OR DAY=24),0);
寒露:=FILTER(MONTH=10 AND (DAY=7  OR DAY=9 ),0);
霜降:=FILTER(MONTH=10 AND (DAY=22 OR DAY=24),0);
立冬:=FILTER(MONTH=11 AND (DAY=7  OR DAY=9 ),0);
小雪:=FILTER(MONTH=11 AND (DAY=22 OR DAY=24),0);
大雪:=FILTER(MONTH=12 AND (DAY=6  OR DAY=8 ),0);
冬至:=FILTER(MONTH=12 AND (DAY=21 OR DAY=23),0);
小寒:=FILTER(MONTH=1 AND (DAY=5  OR DAY=7 ),0);
大寒:=FILTER(MONTH=1 AND (DAY=19 OR DAY=21),0);
DRAWTEXT(立春,HIGH*1.02,'立春'),COLORgreen,ALIGN1;
DRAWTEXT(雨水,HIGH*1.02,'雨水'),COLORgreen,ALIGN1;
DRAWTEXT(惊蛰,HIGH*1.02,'惊蛰'),COLORgreen,ALIGN1;
DRAWTEXT(春分,HIGH*1.02,'春分'),COLORgreen,ALIGN1;
DRAWTEXT(清明,HIGH*1.02,'清明'),COLORgreen,ALIGN1;
DRAWTEXT(谷雨,HIGH*1.02,'谷雨'),COLORgreen,ALIGN1;
DRAWTEXT(立夏,HIGH*1.02,'立夏'),COLORMAGENTA,ALIGN1;
DRAWTEXT(小满,HIGH*1.02,'小满'),COLORMAGENTA,ALIGN1;
DRAWTEXT(芒种,HIGH*1.02,'芒种'),COLORMAGENTA,ALIGN1;
DRAWTEXT(夏至,HIGH*1.02,'夏至'),COLORMAGENTA,ALIGN1;
DRAWTEXT(小暑,HIGH*1.02,'小暑'),COLORMAGENTA,ALIGN1;
DRAWTEXT(大署,HIGH*1.02,'大署'),COLORMAGENTA,ALIGN1;
DRAWTEXT(立秋,HIGH*1.02,'立秋'),COLORYELLOW,ALIGN1;
DRAWTEXT(处暑,HIGH*1.02,'处暑'),COLORYELLOW,ALIGN1;
DRAWTEXT(白露,HIGH*1.02,'白露'),COLORYELLOW,ALIGN1;
DRAWTEXT(秋分,HIGH*1.02,'秋分'),COLORYELLOW,ALIGN1;
DRAWTEXT(寒露,HIGH*1.02,'寒露'),COLORYELLOW,ALIGN1;
DRAWTEXT(霜降,HIGH*1.02,'霜降'),COLORYELLOW,ALIGN1;
DRAWTEXT(立冬,HIGH*1.02,'立冬'),COLORWHITE,ALIGN1;
DRAWTEXT(小雪,HIGH*1.02,'小雪'),COLORWHITE,ALIGN1;
DRAWTEXT(大雪,HIGH*1.02,'大雪'),COLORWHITE,ALIGN1;
DRAWTEXT(冬至,HIGH*1.02,'冬至'),COLORWHITE,ALIGN1;
DRAWTEXT(小寒,HIGH*1.02,'小寒'),COLORWHITE,ALIGN1;
DRAWTEXT(大寒,HIGH*1.02,'大寒'),COLORWHITE,ALIGN1;

 
ema13:ema(c,13),colorblue,linethick2;
ema17:ema(c,17),colorred,linethick2;
ema34:ema(c,34),colorgreen;
ema55:ema(c,55),colorff00ff;
ema120:ema(c,120),colorffcc66;
ar1:=ema55>ema34 and ema34>ema13;
ar2:=BARSLAST((c-ema13)/ema13*100<-6);
ar3:=ema13>=ref(ema13,2);
ar4:=count(cross(c,ema13),ar2)=1;
ar5:=ar1 and ar2 and ar3 and ar4;
ar6:=ar5 and filter(ar5,10);
C3:=REF(CLOSE,1);
涨停:=IF((CLOSE-C3)*100/C3>=(9.98-0.01*100/C3),1,0);
STICKLINE(涨停,OPEN,CLOSE,6,0),COLORYELLOW;
跌停:=IF((C3-CLOSE)*100/C3>=(9.98-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,7,0),colorgreen;
AAA:ma(c,3),linethick0;
HZC:=(2*CLOSE+LOW+HIGH)/4; 
HZE:=EMA(HZC,2); 
HZD:=EMA(HZE,2); 
HD1:=EMA(HZC,3);

 
a1:=EMA(CLOSE,5)>EMA(CLOSE,6) and EMA(CLOSE,6)>EMA(CLOSE,7) and EMA(CLOSE,7)>EMA(CLOSE,8) and EMA(CLOSE,8)>EMA(CLOSE,9)
and EMA(CLOSE,9)>EMA(CLOSE,10) and EMA(CLOSE,10)>EMA(CLOSE,11) and EMA(CLOSE,11)>EMA(CLOSE,12)
and EMA(CLOSE,12)>EMA(CLOSE,13) and EMA(CLOSE,13)>EMA(CLOSE,14) and EMA(CLOSE,14)>EMA(CLOSE,15)
and EMA(CLOSE,15)>EMA(CLOSE,20) and EMA(CLOSE,20)>EMA(CLOSE,30) and EMA(CLOSE,30)>EMA(CLOSE,60) and EMA(CLOSE,60)>EMA(CLOSE,90)
and EMA(CLOSE,90)>EMA(CLOSE,120) and EMA(CLOSE,120)>EMA(CLOSE,250);
a2:=EMA(CLOSE,5)>EMA(CLOSE,6) and EMA(CLOSE,6)>EMA(CLOSE,7) and EMA(CLOSE,7)>EMA(CLOSE,8) and EMA(CLOSE,8)>EMA(CLOSE,9)
and EMA(CLOSE,9)>EMA(CLOSE,10) and EMA(CLOSE,10)>EMA(CLOSE,11) and EMA(CLOSE,11)>EMA(CLOSE,12)
and EMA(CLOSE,12)>EMA(CLOSE,13) and EMA(CLOSE,13)>EMA(CLOSE,14);
b1:=IF(a1,1,2);
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)));

 
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)));
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);
STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),5,100 ),Colorred;
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);
STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),5,100),colorgreen;

智慧主图135主图指标

资源下载链接   资源大小:unknow

手机移动版 - 关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - TOP
湘ICP备09016573号 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZB.COM ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识