平安航母1——主图 {N=80 1 999 , M=3 1 15} DRAWGBK(O>C,RGB(360,0,10),RGB(10,0,1),0,'01',0); DRAWNUMBER(ISLASTBAR ,C,C),COLORMAGENTA; N8:=STRCAT(CON2STR(YEAR,0),' 年 '); Y8:=STRCAT(CON2STR(MONTH,0),' 月 '); R8:=STRCAT(CON2STR(DAY,0),' 日 '); 买线:=EMA(C,2); 卖线:=EMA(SLOPE(C,21)*20+C,42); BU:=CROSS(买线,卖线); SEL:=CROSS(卖线,买线); STICKLINE(买线>=卖线,LOW,HIGH,0.0,1),COLORLIRED; STICKLINE(买线>=卖线,CLOSE,OPEN,3,1),COLORLIRED; MA5:MA(CLOSE,5),COLORFFFFFF,LINETHICK1; MA10:MA(CLOSE,10),COLORYELLOW,LINETHICK2; MA20:MA(CLOSE,20),COLORRED; MA30:MA(CLOSE,30),COLORMAGENTA,LINETHICK1; MA60:MA(CLOSE,60),COLORGREEN,LINETHICK1; MA(C,20),COLORWHITE,LINETHICK1; IF(MA20>REF(MA20,1),MA20,DRAWNULL),COLORRED,LINETHICK1; IF(MA20<REF(MA20,1),MA20,DRAWNULL),COLORGREEN,LINETHICK1; JC:=(REF(C,3)+REF(C,5)+REF(C,7)+REF(C,8)+REF(C,13)+REF(C,21))/6; 参考价:=SMA(JC,5,1),COLORCYAN; 价:=IF(C>=参考价,参考价,参考价*0.98 ), CIRCLEDOT,COLOR0000FF; STICKLINE(买线<卖线,LOW,HIGH,0.0,1),COLORCYAN; STICKLINE(买线<卖线,CLOSE,OPEN,3,1),COLORCYAN; SJ8:=STRCAT(STRCAT(N8,Y8), R8); DRAWBMP((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),LOW*0.99,'B'); DRAWBMP((ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),HIGH*1.03,'S'); DRAWTEXT(CROSS(83,RSI),H*1.04,' 逃顶')COLORYELLOW; 今日保护价:(REF(C,2)+REF(C,1)+O)/3 ,COLORCC3299,NODRAW; 顶点:IF(CURRBARSCOUNT<=60, CONST(IF(ISLASTBAR=1,HHV(H, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORRED,DOTLINE; 低点:IF(CURRBARSCOUNT<=60, CONST(IF(ISLASTBAR=1,LLV(L, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORMAGENTA,DOTLINE; STICKLINE(CCI>=200 AND H>=顶点,O,C,3,0),COLORBLUE; STICKLINE(CCI<=100 AND L<=低点,O,C,3,0),COLORYELLOW; DRAWTEXT_FIX(C>0,0.88,0,0,SJ8),COLOR00FFFF; DRAWTEXT(ISLASTBAR,顶点,'顶点'),COLORRED; DRAWTEXT(ISLASTBAR,低点,'低点'),COLORBLUE;{COLORMAGENTA;}; 超B:=L2_AMO(0,2)/10000.0; 大B:=L2_AMO(1,2)/10000.0; 中B:=L2_AMO(2,2)/10000.0; 小B:=L2_AMO(3,2)/10000.0; 超S:=L2_AMO(0,3)/10000.0; 大S:=L2_AMO(1,3)/10000.0; 中S:=L2_AMO(2,3)/10000.0; 小S:=L2_AMO(3,3)/10000.0; TESTSKIP(NOT(超B OR 大B OR 中B OR 小B OR 超S OR 大S OR 中S OR 小S)!=0); 大宗进:=(超B)+(大B),NODRAW; 大宗出:=(超S)+(大S),NODRAW; 非大宗进:=(中B)+(小B),NODRAW; 非大宗出:=(中S)+(小S),NODRAW; 主力净流入:=(超B+大B)-(超S+大S),COLORRED,NODRAW; 散户净流入:=(中B+小B)-(中S+小S),COLORRED,NODRAW; 净流入:=(超B+大B+中B+小B)-(超S+大S+中S+小S),COLORRED,NODRAW; 大单流入:=(超B+大B)/(超B+大B+超S+大S)*100,NODRAW; 大单流入限制:=IF((超B+大B+超S+大S)=0,0,大单流入); 大单流出比:=(超S+大S)/(超B+大B+超S+大S)*100,NODRAW; 大单流出限制:=IF((超B+大B+超S+大S)=0,0,大单流出比); 总流入比:=(超B+大B+中B+小B)/(超B+大B+中B+小B+超S+大S+中S+小S)*100,NODRAW; 总流出比:=(超S+大S+中S+小S)/(超B+大B+中B+小B+超S+大S+中S+小S)*100,NODRAW; 成交总量:=(超B+大B+中B+小B+超S+大S+中S+小S),NODRAW; 机构参与度:=(超B+超S+大B+大S)/成交总量*100,COLORYELLOW,NODRAW; 大单强度:=(超B+大B-超S-大S)/成交总量*100,COLORYELLOW,NODRAW; 大单强度限制:=IF(大单强度=0,-100,大单强度); 大单强度比:=IF(大单强度>=0,(大单强度限制+100)/2,100-ABS((大单强度限制-100)/2)),NODRAW; 超单强度:=(超B-超S)/(超B+超S)*100,COLORYELLOW,NODRAW; 超单强度限制:=IF(超单强度=0,-100,超单强度); 超单强度比:=IF(超单强度>0,(超单强度限制+100)/2,IF(超单强度<0,100-ABS((超单强度限制-100)/2),0)),NODRAW; DAZHIV:=CONST(MAX(ABS(大宗进),MAX(ABS(大宗出),MAX(ABS(非大宗进),ABS(非大宗出))))),NODRAW; DRAWRECTREL(0,CONST(950-(ABS(大宗进)*250/DAZHIV))-20,30,950,IF(CONST(大宗进>0),RGB(250,125,0),RGB(25,150,250))); DRAWRECTREL(32,CONST(950-(ABS(大宗出)*250/DAZHIV))-20,62,950,IF(CONST(大宗出>0),RGB(25,150,250),RGB(250,125,0))); DRAWRECTREL(102,CONST(950-(ABS(非大宗进)*250/DAZHIV))-20,132,950,IF(CONST(非大宗进>0),RGB(250,125,0),RGB(25,150,250))); DRAWRECTREL(134,CONST(950-(ABS(非大宗出)*250/DAZHIV))-20,164,950,IF(CONST(非大宗出>0),RGB(25,150,250),RGB(250,125,0))); DRAWRECTREL(204,CONST(950-(ABS(净流入)*250/DAZHIV))-20,234,950,IF(CONST(净流入>0),RGB(200,0,0),RGB(0,125,50))); DRAWTEXT_FIX(1,0.00,0.95,0,STRCAT(STRCAT('主力 ',CON2STR(主力净流入,0)),'万')),COLORMAGENTA; DRAWTEXT_FIX(1,0.10,0.95,0,STRCAT(STRCAT('散户 ',CON2STR(散户净流入,0)),'万')),COLORCYAN; DRAWTEXT_FIX(1,0.20,0.95,0,STRCAT(STRCAT('净流入 ',CON2STR(净流入,0)),'万')),COLORYELLOW; 主买A:=ACTINVOL,COLORRED,NODRAW; 主卖A:=ACTOUTVOL,COLORGREEN,NODRAW; 主买:=主买A*100/(主买A+主卖A),NODRAW,COLORRED; 主卖:=主卖A*100/(主买A+主卖A),NODRAW,COLORGREEN; 大单买比:=LARGEINTRDVOL*100/(LARGEINTRDVOL+LARGEOUTTRDVOL); 大单卖比:=LARGEOUTTRDVOL*100/(LARGEINTRDVOL+LARGEOUTTRDVOL); 主力净买量:=(LARGEINTRDVOL-LARGEOUTTRDVOL),COLORYELLOW,NODRAW; 主动买卖差:=(ACTINVOL-ACTOUTVOL),COLORMAGENTA,NODRAW; 主力资金差:=((L2_AMO(0,0)+L2_AMO(1,0)-L2_AMO(0,1)-L2_AMO(1,1)))/10000,COLORCYAN,NODRAW; 主力买力度:=LARGEINTRDVOL*100/VOL; 主力卖力度:=LARGEOUTTRDVOL*100/VOL; 主买力度比:=主力买力度/(主力买力度+主力卖力度)*100,NODRAW; 主卖力度比:=主力卖力度/(主力买力度+主力卖力度)*100,NODRAW; 力度比限制:=IF((LARGEINTRDVOL+LARGEOUTTRDVOL)=0,0,大单买比); JGV:=(L2_VOL(0,0) - L2_VOL(0,1))*VOL/100000000,COLORRED; DHV:=(L2_VOL(1,0) - L2_VOL(1,1))*VOL/100000000,COLORFF00FF; ZHV:=(L2_VOL(2,0) - L2_VOL(2,1))*VOL/100000000,COLOR00FFFF; SHV:=(L2_VOL(3,0) - L2_VOL(3,1))*VOL/100000000,COLORFFFFFF; NOTEXT大量动向:=MA((JGV+DHV),5),COLORYELLOW; 超级大量:=JGV,COLOR0000FF,NODRAW; 机构大量:=DHV,COLORMAGENTA,NODRAW; 大量博弈:=(JGV+DHV),COLORYELLOW,NODRAW; 小量博弈:=(ZHV+SHV),COLORWHITE,NODRAW; 大量资金比:=大量博弈/(ABS(JGV)+ABS(DHV)+ABS(ZHV)+ABS(SHV))*100,COLORYELLOW,NODRAW; 大量资金比限制:=IF(大量资金比=0,-100,大量资金比); 大量强度比:=IF(大量资金比>0,(大量资金比限制+100)/2,IF(大量资金比<0,100-ABS((大量资金比限制-100)/2),0)),COLORGREEN,NODRAW; 小量资金比:=小量博弈/(ABS(JGV)+ABS(DHV)+ABS(ZHV)+ABS(SHV))*100,COLORYELLOW,NODRAW; 小量强度比:=IF(小量资金比>=0,(小量资金比+100)/2,100-ABS((小量资金比-100)/2)),COLORCYAN,NODRAW; MVR:=REF(MA(V,5),1); FVR:=REF(V,1); PVR:=(MVR+FVR)/2; 量能比:=V/(V+PVR)*100/FROMOPEN*240; {量能饱和度} SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20)); 【量能饱和】:=IF(SAT>1,1,SAT)*100,COLORYELLOW,NODRAW; {活跃度} LC:=REF(CLOSE,1); RSI5:=(SMA(MAX(CLOSE-LC,0),3,1))/(SMA(ABS(CLOSE-LC),3,1))*100; WR10:=(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))*100; 活跃度:=(RSI5-WR10),COLORFFFF00,LINETHICK1,NODRAW; 活跃度比:=IF(活跃度>=0,(活跃度+100)/2,100-ABS((活跃度-100)/2)); DRAWRECTREL(100,0,400,40,RGB(0,75,200)); DRAWRECTREL(100,0,250,40,RGB(0,250,50)); DRAWRECTREL(100,0,100+CONST(力度比限制*300/100),40,RGB(200,0,50)); DRAWTEXT_FIX(1,0.00,0.00,0,STRCAT(STRCAT('【买卖力度比】',CON2STR(大单买比,2)),'%买')),COLORYELLOW; {DRAWTEXT_FIX(1,0.33,0.00,0,STRCAT(STRCAT('',CON2STR(大单卖比,2)),'%卖')),COLORGREEN;} DRAWRECTREL(100,50,400,90,RGB(0,100,0)); DRAWRECTREL(100,50,250,90,RGB(0,250,50)); DRAWRECTREL(100,50,100+CONST(大量强度比*300/100),90,RGB(250,150,0)); DRAWTEXT_FIX(1,0.00,0.05,0,STRCAT(STRCAT('【大量强度比】',CON2STR(大量强度比,2)),'%买')),COLORYELLOW; DRAWRECTREL(100,100,400,140,RGB(0,75,200)); DRAWRECTREL(100,100,250,140,RGB(0,250,50)); DRAWRECTREL(100,100,100+CONST(主买*300/100),140,RGB(175,50,250)); DRAWTEXT_FIX(1,0.00,0.10,0,STRCAT(STRCAT('【主动买卖比】',CON2STR(主买,2)),' %')),COLORYELLOW; {DRAWTEXT_FIX(1,0.33,0.10,0,STRCAT(STRCAT('',CON2STR(主卖,2)),'%卖')),COLORGREEN;} DRAWRECTREL(100,150,400,190,RGB(0,100,0)); DRAWRECTREL(100,150,250,190,RGB(0,250,50)); DRAWRECTREL(100,150,100+CONST(机构参与度*300/100),190,RGB(250,100,0)); DRAWTEXT_FIX(1,0.00,0.15,0,STRCAT(STRCAT('【机构参与度】',CON2STR(机构参与度,2)),' %')),COLORYELLOW; DRAWRECTREL(600,0,900,40,RGB(0,100,0)); DRAWRECTREL(600,0,750,40,RGB(0,250,50)); DRAWRECTREL(600,0,600+CONST(大单流入限制*300/100),40,RGB(200,0,50)); DRAWTEXT_FIX(1,0.500,0.00,0,STRCAT(STRC |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!