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

通达信云端操盘主图源码,说明

发布时间:2012/7/30 7:12:36  浏览次数:

通达信云端操盘主图源码,说明

操作说明;分享给童鞋们一个偶的看盘主图,支撑压力强势弱势一目了然

【云端操盘主图】源码


W1:=FILTER(O<REF(L,1) && C>O && VOL>REF(V,1),13);
JH:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
SZ:=FILTER(CROSS(JH,35),13);
SX:=FILTER(CROSS(JH,30),7);
SQ:=FILTER(CROSS(71,JH),74);
SD:=FILTER(CROSS(80,JH),74);
BB:=IF(CAPITAL<1,SQ,SD);
AA:=IF(CAPITAL<1,SZ,SX);
CC:=REF(HHV(CLOSE,120),1);
DD:=REF(LLV(CLOSE,120),1);
WW:=((100*(CLOSE-DD))/(CC-DD));
FF:=(EMA(AMOUNT,5)/REF(EMA(AMOUNT,5),5));
BZ:=FILTER(((FF>=2 && WW<35 && BARSCOUNT(C)>30) OR (FF>=2 && WW<100 && BARSCOUNT(C)<50)),30);
STICKLINE(C>O OR C>REF(C,1),H,L,0,0),COLOR0022FF;
STICKLINE(C>O OR C>REF(C,1),C,O,3.2,0),COLOR002288;
STICKLINE(C>O OR C>REF(C,1),C,O,2.6,0),COLOR0033AA;
STICKLINE(C>O OR C>REF(C,1),C,O,1.9,0),COLOR0044CC;
STICKLINE(C>O OR C>REF(C,1),C,O,1.1,0),COLOR0055EE;
STICKLINE(C>O OR C>REF(C,1),C,O,0.3,0),COLOR0088FF;
STICKLINE(C<O OR C<REF(C,1),H,L,0,1),COLORFF8800;
STICKLINE(C<O OR C<REF(C,1),C,O,3.2,0),COLORFF2200;
STICKLINE(C<O OR C<REF(C,1),C,O,2.6,0),COLORFF4400;
STICKLINE(C<O OR C<REF(C,1),C,O,1.9,0),COLORFF6600;
STICKLINE(C<O OR C<REF(C,1),C,O,1.1,0),COLORFF8800;
STICKLINE(C<O OR C<REF(C,1),C,O,0.3,0),COLORFFAA00;
STICKLINE(C=REF(C,1),H,L,0,1),COLORFFFFFF;
STICKLINE(C=REF(C,1),C,O,3.2,0),COLOR555555;
STICKLINE(C=REF(C,1),C,O,2.6,0),COLOR777777;
STICKLINE(C=REF(C,1),C,O,1.9,0),COLOR999999;
STICKLINE(C=REF(C,1),C,O,1.1,0),COLORCCCCCC;
{STICKLINE(C=REF(C,1),C,O,0.3,0),COLORDDDDDD;}
STICKLINE(W1,H,L,0,1),COLORFF55FF;
STICKLINE(W1,C,O,3.2,0),COLOR880088;
STICKLINE(W1,C,O,2.6,0),COLORAA00AA;
STICKLINE(W1,C,O,1.9,0),COLORCC00CC;
STICKLINE(W1,C,O,1.1,0),COLOREE00EE;
STICKLINE(W1,C,O,0.3,0),COLORFF44FF;
STICKLINE(AA,H,L,0,1),COLORYELLOW;
STICKLINE(AA,C,O,3.2,0),COLOR117777;
STICKLINE(AA,C,O,2.6,0),COLOR119999;
STICKLINE(AA,C,O,1.9,0),COLOR11BBBB;
STICKLINE(AA,C,O,1.1,0),COLOR11DDDD;
STICKLINE(AA,C,O,0.3,0),COLOR44FFFF;
STICKLINE(BB,H,L,0,1),COLORGREEN;
STICKLINE(BB,C,O,3.2,0),COLOR006600;
STICKLINE(BB,C,O,2.6,0),COLOR008800;
STICKLINE(BB,C,O,1.9,0),COLOR00AA00;
STICKLINE(BB,C,O,1.1,0),COLOR00CC00;
STICKLINE(BB,C,O,0.3,0),COLOR00FF00;
STICKLINE(BZ,H,L,0,1),COLOR0000FF;
STICKLINE(BZ,C,O,3.2,0),COLOR000066;
STICKLINE(BZ,C,O,2.6,0),COLOR000088;
STICKLINE(BZ,C,O,1.9,0),COLOR0000AA;
STICKLINE(BZ,C,O,1.1,0),COLOR0000CC;
STICKLINE(BZ,C,O,0.3,0),COLOR2200FF;

VAR1AA:=((2)*(CLOSE)+OPEN+HIGH+LOW)/(5);
VAR2AA:=VOL;
上升价格线: (SUM((VAR1AA)*(VAR2AA),8))/(SUM(VAR2AA,8)),COLORRED;
下降价格线:LLV(上升价格线,8),COLOR007700;
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
DRAWTEXT(FILTER((VAR4AA>90),34),(LOW)*(0.99),'*加仓'),COLORRED;
A1AA:=9;
A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);
DRAWTEXT(FILTER((A2AA>0),34),(HIGH)*(1.01),'*警'),COLORGREEN;
VAR1:=REF(CLOSE,1);
VAR2:=MA(CLOSE,5);
VAR3:=SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(ABS(CLOSE-VAR1),6,1)*100;
VAR4:=SMA(MAX(CLOSE-VAR1,0),12,1)/SMA(ABS(CLOSE-VAR1),12,1)*100;
VAR5:=SMA(MAX(CLOSE-VAR1,0),24,1)/SMA(ABS(CLOSE-VAR1),24,1)*100;
VAR6:=IF(CROSS(VAR3,VAR5),LOW,REF(LOW,BARSLAST(CROSS(VAR3,VAR5))));
VAR7:=IF(CROSS(VAR5,VAR3),HIGH,REF(HIGH,BARSLAST(CROSS(VAR5,VAR3))));
VAR8:=IF(CLOSE>=MA(CLOSE,20),80,50);
VAR9:=IF(CLOSE>=MA(CLOSE,20),50,20);
VARA:=IF(VAR3<VAR8 AND REF(VAR3,1)>=VAR8,HHV(REF(HIGH,1),BARSLAST(VAR3>=VAR8 AND REF(VAR3,1)<VAR8)-1),REF(HHV(REF(HIGH,1),BARSLAST(VAR3>=VAR8 AND REF(VAR3,1)<VAR8)-1),BARSLAST(VAR3<VAR8 AND REF(VAR3,1))));
VARB:=IF(HIGH>VARA,LOW,REF(LOW,BARSLAST(HIGH>VARA)));
VARC:=IF(HIGH>VARA,VAR3,REF(VAR3,BARSLAST(HIGH>VARA)));
VARD:=IF(HIGH>VARB AND VAR3<VARC AND VAR3<VAR5,HIGH,REF(HIGH,BARSLAST(HIGH>VARB AND VAR3<VARC AND VAR3<VAR5)));
VARE:=IF(VAR3>VAR9 AND REF(VAR3,1)<=VAR9,LLV(REF(LOW,1),BARSLAST(VAR3<=VAR9 AND REF(VAR3,1)>VAR9)-1),REF(LLV(REF(LOW,1),BARSLAST(VAR3<=VAR9 AND REF(VAR3,1)>VAR9)-1),BARSLAST(VAR3>VAR9 AND REF(VAR3,1))));
VARF:=IF(LOW<VARE,HIGH,REF(HIGH,BARSLAST(LOW<VARE)));
VAR10:=IF(LOW<VARE,VAR3,REF(VAR3,BARSLAST(LOW<VARE)));
VAR11:=IF(LOW<VARF AND VAR3>VAR10 AND VAR3>VAR5,LOW,REF(LOW,BARSLAST(LOW<VARF AND VAR3>VAR10 AND VAR3>VAR5)));
支撑线:VAR11,COLORYELLOW,LINETHICK1;
压力线:VARD, COLORGREEN,LINETHICK1;
 

通达信云端操盘主图源码,说明

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

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