返回顶部
  • 发帖数516
  • 粉丝0

此人很懒,什么也没有留下

  • 最佳新人

  • 活跃会员

    经常参与各类话题的讨论,发帖内容较有主见
  • 热心会员

    经常帮助其他会员答疑
  • 终身成就

    为论坛做出突出贡献的会员
  • 爆料达人

    发帖爆料达人
开启左侧

[技巧] 板块分析A指标公式源码

[复制链接]
股票大数据 首发之星 显示全部楼层 发表于 2022-4-6 22:41:27 |阅读模式 打印 上一主题 下一主题
灵通疑板块阐发A目标公式源码(无源码的请下载附件导进)

创业板:=INBLOCK('创业板');
种埂企业:=INBLOCK('种埂板');
上证A股:=INBLOCK('上证A股');
深证A股:=INBLOCK('深证A股');
INDEH:=IF(种埂企业=1,"399005$H",IF(创业板=1,"399006$H",IF(上证A股=1,"999999$H","399001$H"))),NODRAW;
INDEO:=IF(种埂企业=1,"399005$O",IF(创业板=1,"399006$O",IF(上证A股=1,"999999$O","399001$O"))),NODRAW;
INDEL:=IF(种埂企业=1,"399005$L",IF(创业板=1,"399006$L",IF(上证A股=1,"999999$L","399001$L"))),NODRAW;
INDEC:=IF(种埂企业=1,"399005$C",IF(创业板=1,"399006$C",IF(上证A股=1,"999999$C","399001$C"))),NODRAW;
板块:=IF(种埂企业=1,'种埂板挚帻',IF(创业板=1,'创业板挚帻',IF(上证A股=1,'上证挚帻','深证挚帻')));
挚帻斩贴:=(INDEC-REF(INDEC,1))*100/REF(INDEC,1);
A:=stRCAT(板块,STRCAT(':',CON2STR(INDEC,2)));
B:=STRCAT(STRCAT('挚帻涨跌:',CON2STR(挚帻斩贴,2)),' %');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,A),COLOR0055FF;
DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,B),COLOR0055FF;
沪A涨家数:="999999$ADVANCE",COLORRED,NODRAW;
沪A跌家数:="999999$DECLINE",COLORGREEN,NODRAW;
深A涨家数:="399001$ADVANCE",COLORRED,NODRAW;
深A跌家数:="399001$DECLINE",COLORGREEN,NODRAW;
创颐魅涨家数:="399006$ADVANCE",COLORRED,NODRAW;
创业跌家数:="399006$DECLINE",COLORGREEN,NODRAW;
上涨总家数:=沪A涨家数+深A涨家数,COLORRED,NODRAW;
下跌总家数:=沪A跌家数+深A跌家数,COLORGREEN,NODRAW;
BBB1:=STRCAT('沪A涨家数: ',CON2STR(沪A涨家数,0));
DRAWTEXT_FIX(ISLASTBAR,0,0.06,0,BBB1),COLORRED;
BBB2:=STRCAT('沪A跌家数: ',CON2STR(沪A跌家数,0));
DRAWTEXT_FIX(ISLASTBAR,0,0.12,0,BBB2),COLORGREEN;
BBB3:=STRCAT('深A涨家数: ',CON2STR(深A涨家数,0));
DRAWTEXT_FIX(ISLASTBAR,0.1,0.06,0,BBB3),COLORRED;
BBB4:=STRCAT('深A跌家数: ',CON2STR(深A跌家数,0));
DRAWTEXT_FIX(ISLASTBAR,0.1,0.12,0,BBB4),COLORGREEN;
BBB7:=STRCAT('创颐魅涨家数: ',CON2STR(创颐魅涨家数,0));
DRAWTEXT_FIX(ISLASTBAR,0.3,0.06,0,BBB7),COLORRED;
BBB8:=STRCAT('创业跌家数: ',CON2STR(创业跌家数,0));
DRAWTEXT_FIX(ISLASTBAR,0.3,0.12,0,BBB8),COLORGREEN;
上涨总家数比:=上涨总家数/(上涨总家数+下跌总家数)*100,COLORRED,NODRAW;
下跌总家数比:=下跌总家数/(上涨总家数+下跌总家数)*100,COLORGREEN,NODRAW;
沪A上涨家数比:=沪A涨家数/(沪A涨家数+沪A跌家数)*100,COLORRED,NODRAW;
沪A下跌家数比:=沪A跌家数/(沪A涨家数+沪A跌家数)*100,COLORGREEN,NODRAW;
深A上涨家数比:=深A涨家数/(深A涨家数+深A跌家数)*100,COLORRED,NODRAW;
深A下跌家数比:=深A跌家数/(深A涨家数+深A跌家数)*100,COLORGREEN,NODRAW;
创业上涨家数比:=创颐魅涨家数/(创颐魅涨家数+创业跌家数)*100,COLORRED,NODRAW;
创业下跌家数比:=创业跌家数/(创颐魅涨家数+创业跌家数)*100,COLORGREEN,NODRAW;
AAA1:=STRCAT(STRCAT('上涨总家数比 ',CON2STR(上涨总家数比,0)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.4,0.06,0,AAA1),COLORRED;
AAA2:=STRCAT(STRCAT('下跌总家数比 ',CON2STR(下跌总家数比,0)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.4,0.12,0,AAA2),COLORGREEN;
AAA3:=STRCAT(STRCAT('沪A上涨家数比 ',CON2STR(沪A上涨家数比,0)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.5,0.06,0,AAA3),COLORRED;
AAA4:=STRCAT(STRCAT('沪A下跌家数比 ',CON2STR(沪A下跌家数比,0)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.5,0.12,0,AAA4),COLORGREEN;
AAA5:=STRCAT(STRCAT('深A上涨家数比 ',CON2STR(深A上涨家数比,0)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.6,0.06,0,AAA5),COLORRED;
AAA6:=STRCAT(STRCAT('深A下跌家数比 ',CON2STR(深A下跌家数比,0)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.6,0.12,0,AAA6),COLORGREEN;
AAA9:=STRCAT(STRCAT('创业上涨家数比 ',CON2STR(创业上涨家数比,0)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.8,0.06,0,AAA9),COLORRED;
AAA10:=STRCAT(STRCAT('创业下跌家数比 ',CON2STR(创业下跌家数比,0)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.8,0.12,0,AAA10),COLORGREEN;
CCC:=HY_INDEXC;
OOO:=HY_INDEXO;
LLL:=HY_INDEXL;
HHH:=HY_INDEXH;
DRAWKLINE(HHH,OOO,LLL,CCC);
MA5:MA(CCC,5);
MA10:MA(CCC,10);
MA20:MA(CCC,20);
MA60:MA(CCC,60);
上涨:=VARCAT('止业上涨:',VAR2STR(HY_INDEXADV,0));
下跌:=VARCAT('止业下跌:',VAR2STR(HY_INDEXDEC,0));
DRAWTEXT_FIX(ISLASTBAR,0.7,0,0,上涨),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.8,0,0,下跌),COLORYELLOW;
ZF:=(C-REF(C,1))/REF(C,1)*100;
止业挚帻:=(CCC-REF(CCC,1))*100/REF(CCC,1);
DD:=STRCAT('止业挚帻:',CON2STR(CCC,2));
E:=STRCAT(STRCAT('止颐魅涨跌:',CON2STR(止业挚帻,2)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.2,0,0,DD),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.3,0,0,E),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.4,0,0,HYBLOCK),COLORYELLOW;{所属止业}
DRAWTEXT_FIX(ISLASTBAR AND 挚帻斩贴<=止业挚帻,0.5,0,0,'板块强'),COLORRED;
DRAWTEXT_FIX(ISLASTBAR AND 挚帻斩贴>止业挚帻,0.5,0,0,'板块强'),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR AND ZF>=止业挚帻,0.6,0,0,'个股强'),COLORRED;
DRAWTEXT_FIX(ISLASTBAR AND ZF<止业挚帻,0.6,0,0,'个股强'),COLORCYAN;
DRAWTEXT_FIX(1,0.0,0.43,0,'【阐明:早盘假如持有的股帽:板强、股强。碰到慢推,坚定下扔低吸。】'),COLOR0080FF;
DRAWTEXT_FIX(1,0.0,0.50,0,'【假如板诳、股强@匀待股强转股强。假如盘中不断处于板诳、股强:坚定做T】'),COLOR0080FF;
DRAWTEXT_FIX(1,0.0,0.57,0,'【碰到板诳、股强R⌒猩没有动。碰到板强、股强:看个股量,假如放量强承猩没有动。假如慢推没有放量,应下扔低吸】'),COLOR0080FF;
DRAWTEXT_FIX(1,0.0,0.64,0,'【碰到上涨家数疾速增长:思索补仓大概承猩没有动,废府加仓。】'),COLOR0080FF;
个股强强:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100,COLORWHITE;
止业强强:=(HY_INDEXC-MA(HY_INDEXC,30))/MA(HY_INDEXC,30)*100,COLORYELLOW,LINETHICK2;
年夜盘强强:=(INDEXC-MA(INDEXC,30))/MA(INDEXC,30)*100,COLORRED,LINETHICK4;
煤冰A:=("880301$C"-REF("880301$C",1))/REF("880301$C",1)*100;
电力A:=("880305$C"-REF("880305$C",1))/REF("880305$C",1)*100;
石油A:=("880310$C"-REF("880310$C",1))/REF("880310$C",1)*100;
钢铁A:=("880318$C"-REF("880318$C",1))/REF("880318$C",1)*100;
有色A:=("880324$C"-REF("880324$C",1))/REF("880324$C",1)*100;
化纤A:=("880330$C"-REF("880330$C",1))/REF("880330$C",1)*100;
化工A:=("880335$C"-REF("880335$C",1))/REF("880335$C",1)*100;
建材A:=("880344$C"-REF("880344$C",1))/REF("880344$C",1)*100;
制纸A:=("880350$C"-REF("880350$C",1))/REF("880350$C",1)*100;
矿物成品A:=("880351$C"-REF("880351$C",1))/REF("880351$C",1)*100;
日映霪工A:=("880355$C"-REF("880355$C",1))/REF("880355$C",1)*100;
农林牧渔A:=("880360$C"-REF("880360$C",1))/REF("880360$C",1)*100;
纺织衣饰A:=("880367$C"-REF("880367$C",1))/REF("880367$C",1)*100;
食物饮料A:=("880372$C"-REF("880372$C",1))/REF("880372$C",1)*100;
酿酒A:=("880380$C"-REF("880380$C",1))/REF("880380$C",1)*100;
家用电器A:=("880387$C"-REF("880387$C",1))/REF("880387$C",1)*100;
汽辰侧A:=("880390$C"-REF("880390$C",1))/REF("880390$C",1)*100;
医疗保健A:=("880398$C"-REF("880398$C",1))/REF("880398$C",1)*100;
家居用品A:=("880399$C"-REF("880399$C",1))/REF("880399$C",1)*100;
蚁譬A:=("880400$C"-REF("880400$C",1))/REF("880400$C",1)*100;
贸易连锁A:=("880406$C"-REF("880406$C",1))/REF("880406$C",1)*100;
商贸代办署理A:=("880414$C"-REF("880414$C",1))/REF("880414$C",1)*100;
传媒文娱A:=("880418$C"-REF("880418$C",1))/REF("880418$C",1)*100;
告白包拆A:=("880421$C"-REF("880421$C",1))/REF("880421$C",1)*100;
文教戚忙A:=("880422$C"-REF("880422$C",1))/REF("880422$C",1)*100;
旅店餐饮A:=("880423$C"-REF("880423$C",1))/REF("880423$C",1)*100;
旅游A:=("880424$C"-REF("880424$C",1))/REF("880424$C",1)*100;
航空航天A:=("880430$C"-REF("880430$C",1))/REF("880430$C",1)*100;
船舶A:=("880431$C"-REF("880431$C",1))/REF("880431$C",1)*100;
运输装备A:=("880432$C"-REF("880432$C",1))/REF("880432$C",1)*100;
通映鳅械A:=("880437$C"-REF("880437$C",1))/REF("880437$C",1)*100;
产业机器A:=("880440$C"-REF("880440$C",1))/REF("880440$C",1)*100;
电气装备A:=("880446$C"-REF("880446$C",1))/REF("880446$C",1)*100;
工程机器A:=("880447$C"-REF("880447$C",1))/REF("880447$C",1)*100;
电器仪表A:=("880448$C"-REF("880448$C",1))/REF("880448$C",1)*100;
电疑运营A:=("880452$C"-REF("880452$C",1))/REF("880452$C",1)*100;
大众交通A:=("880453$C"-REF("880453$C",1))/REF("880453$C",1)*100;
火务A:=("880454$C"-REF("880454$C",1))/REF("880454$C",1)*100;
供气供热A:=("880455$C"-REF("880455$C",1))/REF("880455$C",1)*100;
情况庇护A:=("880456$C"-REF("880456$C",1))/REF("880456$C",1)*100;
运输效劳A:=("880459$C"-REF("880459$C",1))/REF("880459$C",1)*100;
仓储物流A:=("880464$C"-REF("880464$C",1))/REF("880464$C",1)*100;
交通设备A:=("880465$C"-REF("880465$C",1))/REF("880465$C",1)*100;
银止类A:=("880471$C"-REF("880471$C",1))/REF("880471$C",1)*100;
证券类A:=("880472$C"-REF("880472$C",1))/REF("880472$C",1)*100;
保险类A:=("880473$C"-REF("880473$C",1))/REF("880473$C",1)*100;
多元金融A:=("880474$C"-REF("880474$C",1))/REF("880474$C",1)*100;
修建A:=("880476$C"-REF("880476$C",1))/REF("880476$C",1)*100;
房天产A:=("880482$C"-REF("880482$C",1))/REF("880482$C",1)*100;
电脑装备A:=("880489$C"-REF("880489$C",1))/REF("880489$C",1)*100;
通讯装备A:=("880490$C"-REF("880490$C",1))/REF("880490$C",1)*100;
半导体A:=("880491$C"-REF("880491$C",1))/REF("880491$C",1)*100;
元器件A:=("880492$C"-REF("880492$C",1))/REF("880492$C",1)*100;
硬件效劳A:=("880493$C"-REF("880493$C",1))/REF("880493$C",1)*100;
互联网A:=("880494$C"-REF("880494$C",1))/REF("880494$C",1)*100;
综开类A:=("880497$C"-REF("880497$C",1))/REF("880497$C",1)*100;
最年夜值1A:=MAX(煤冰A,MAX(电力A,MAX(石油A,MAX(钢铁A,MAX(有色A,MAX(化纤A,MAX(化工A,MAX(建材A,MAX(制纸A,MAX(矿物成品A,日映霪工A))))))))));
最年夜值2A:=MAX(农林牧渔A,MAX(纺织衣饰A,MAX(食物饮料A,MAX(酿酒A,MAX(家用电器A,MAX(汽辰侧A,MAX(医疗保健A,MAX(家居用品A,MAX(蚁譬A,MAX(贸易连锁A,商贸代办署理A))))))))));
最年夜值3A:=MAX(传媒文娱A,MAX(告白包拆A,MAX(文教戚忙A,MAX(旅店餐饮A,MAX(旅游A,MAX(航空航天A,MAX(船舶A,MAX(运输装备A,MAX(通映鳅械A,MAX(产业机器A,电气装备A))))))))));
最年夜值4A:=MAX(工程机器A,MAX(电器仪表A,MAX(电疑运营A,MAX(大众交通A,MAX(火务A,MAX(供气供热A,MAX(情况庇护A,MAX(运输效劳A,MAX(仓储物流A,MAX(交通设备A,银止类A))))))))));
最年夜值5A:=MAX(证券类A,MAX(保险类A,MAX(多元金融A,MAX(修建A,MAX(房天产A,MAX(电脑装备A,MAX(通讯装备A,MAX(半导体A,MAX(元器件A,MAX(硬件效劳A,MAX(互联网A,综开类A)))))))))));
ZZDZ:=CONST(MAX(最年夜值1A,MAX(最年夜值2A,MAX(最年夜值3A,MAX(最年夜值4A,最年夜值5A)))));
DRAWTEXT_FIX(ISLASTBAR,0.9,0,0,' ████████████████'),COLORRED;
XSWZ1:=CONST(IF(ZZDZ-煤冰A=0 OR ZZDZ-电力A=0 OR ZZDZ-石油A=0 OR ZZDZ-钢铁A=0 OR ZZDZ-有色A=0 OR ZZDZ-化纤A=0 OR ZZDZ-化工A=0 OR ZZDZ-建材A=0 OR ZZDZ-制纸A=0 OR ZZDZ-旅游A=0 OR ZZDZ-船舶A=0 OR ZZDZ-火务A=0 OR ZZDZ-修建A=0 OR ZZDZ-蚁譬A=0,614,IF(ZZDZ-汽辰侧A=0 OR ZZDZ-银止类A=0 OR ZZDZ-证券类A=0 OR ZZDZ-保险类A=0 OR ZZDZ-房天产A=0 OR ZZDZ-半导体A=0 OR ZZDZ-元器件A=0 OR ZZDZ-互联网A=0 OR ZZDZ-综开类A=0,627,643)));
DRAWTEXT_FIX(ISLASTBAR,0.9,0,0,IF(ZZDZ-煤冰A=0,'【古强势板块】:煤冰止业',IF(ZZDZ-电力A=0,'【古强势板块】@早力止业',IF(ZZDZ-石油A=0,'【古强势板块】:石油止业',IF(ZZDZ-钢铁A=0,'【古强势板块】:钢铁止业',IF(ZZDZ-有色A=0,'【古强势板块】:有色止业',IF(ZZDZ-化纤A=0,'【古强势板块】:化纤止业',IF(ZZDZ-化工A=0,'【古强势板块】:化工止业',IF(ZZDZ-建材A=0,'【古强势板块】:建材止业',IF(ZZDZ-制纸A=0,'【古强势板块】:制纸止业',IF(ZZDZ-矿物成品A=0,'【古强势板块】:矿物成品',IF(ZZDZ-日映霪工A=0,'【古强势板块】:日映霪工',
IF(ZZDZ-农林牧渔A=0,'【古强势板块】:农林牧渔',IF(ZZDZ-纺织衣饰A=0,'【古强势板块】:纺织衣饰',IF(ZZDZ-食物饮料A=0,'【古强势板块】:食物饮料',IF(ZZDZ-酿酒A=0,'【古强势板块】:酿酒止业',IF(ZZDZ-家用电器A=0,'【古强势板块】:家用电器',IF(ZZDZ-汽辰侧A=0,'【古强势板块】:汽车止业',IF(ZZDZ-医疗保健A=0,'【古强势板块】:医疗保健',IF(ZZDZ-家居用品A=0,'【古强势板块】:家居用品',IF(ZZDZ-蚁譬A=0,'【古强势板块】:蚁譬止业',IF(ZZDZ-贸易连锁A=0,'【古强势板块】:贸易连锁',IF(ZZDZ-商贸代办署理A=0,'【古强势板块】:商贸代办署理',DRAWNULL))))))))))))))))))))))),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.9,0,0,IF(ZZDZ-传媒文娱A=0,'【古强势板块】:传媒文娱',IF(ZZDZ-告白包拆A=0,'【古强势板块】:告白包拆',IF(ZZDZ-文教戚忙A=0,'【古强势板块】:文教戚忙',IF(ZZDZ-旅店餐饮A=0,'【古强势板块】:旅店餐饮',IF(ZZDZ-旅游A=0,'【古强势板块】:旅游止业',IF(ZZDZ-航空航天A=0,'【古强势板块】:航空航天',IF(ZZDZ-船舶A=0,'【古强势板块】:船舶止业',IF(ZZDZ-运输装备A=0,'【古强势板块】:运输装备',IF(ZZDZ-通映鳅械A=0,'【古强势板块】U建映鳅械',IF(ZZDZ-产业机器A=0,'【古强势板块】:产业机器',IF(ZZDZ-电气装备A=0,'【古强势板块】@早气装备',
IF(ZZDZ-工程机器A=0,'【古强势板块】:工程机器',IF(ZZDZ-电器仪表A=0,'【古强势板块】@早器仪表',IF(ZZDZ-电疑运营A=0,'【古强势板块】@早疑运营',IF(ZZDZ-大众交通A=0,'【古强势板块】:大众交通',IF(ZZDZ-火务A=0,'【古强势板块】:火务止业',IF(ZZDZ-供气供热A=0,'【古强势板块】:供气供热',IF(ZZDZ-情况庇护A=0,'【古强势板块】:情况庇护',IF(ZZDZ-运输效劳A=0,'【古强势板块】:运输效劳',IF(ZZDZ-仓储物流A=0,'【古强势板块】:仓储物流',IF(ZZDZ-交通设备A=0,'【古强势板块】:交通设备',
IF(ZZDZ-银止类A=0,'【古强势板块】:银止板块',IF(ZZDZ-证券类A=0,'【古强势板块】:证券板块',IF(ZZDZ-保险类A=0,'【古强势板块】:保险板块',IF(ZZDZ-多元金融A=0,'【古强势板块】:多元金融',IF(ZZDZ-修建A=0,'【古强势板块】:修建止业',IF(ZZDZ-房天产A=0,'【古强势板块】:房产板块',IF(ZZDZ-电脑装备A=0,'【古强势板块】@早脑装备',IF(ZZDZ-通讯装备A=0,'【古强势板块】U建疑装备',IF(ZZDZ-半导体A=0,'【古强势板块】:半导体类',IF(ZZDZ-元器件A=0,'【古强势板块】:元器件类',IF(ZZDZ-硬件效劳A=0,'【古强势板块】:硬件效劳',IF(ZZDZ-互联网A=0,'【古强势板块】:互联网类',IF(ZZDZ-综开类A=0,'【古强势板块】:综开板块',DRAWNULL))))))))))))))))))))))))))))))))))),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.6,0.2,0,'股东统计阐发:'),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.7,0.2,0,'1、前十年夜股东承猩开计:'),COLORYELLOW;
环比删加1:=(FINONE(245,0,0)-FINONE(245,0,1))/FINONE(245,0,1)*100;
HG111:=IF(环比删加1>0,VARCAT(VARCAT( '增长 ' ,VAR2STR( 环比删加1,2)),' % '),IF(环比删加1<0,VARCAT(VARCAT( '削减 ' ,VAR2STR(-环比删加1,2)),' % '),' '));
HGH111:=STRCAT(STRCAT('占总股本 ',STRCAT(CON2STR(FINVALUE(245)/FINVALUE(238)*100,2),' % ')),STRCAT('占畅通盘 ',STRCAT(CON2STR(FINVALUE(245)/FINVALUE(239)*100,2),' % ')));
SDGDCGLXFX:=IF(FINONE(245,0,0)<FINONE(245,0,1) AND FINONE(245,0,1)<FINONE(245,0,2) AND FINONE(245,0,2)<FINONE(245,0,3),'持续三季度削减',IF(FINVALUE(245)>FINONE(245,0,1) AND FINONE(245,0,1)>FINONE(245,0,2) AND FINONE(245,0,2)>FINONE(245,0,3),'持续三季度增长',''));
DRAWTEXT_FIX(ISLASTBAR,0.7,0.294,0,HGH111),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.7,0.381,0,STRCAT('较上期 ',STRCAT(HG111,SDGDCGLXFX))),COLORYELLOW;
GDrslXZJFX:=IF(FINONE(242,0,0)<FINONE(242,0,1) AND FINONE(242,0,1)<FINONE(242,0,2) AND FINONE(242,0,2)<FINONE(242,0,3),'持续三季度削减',IF(FINVALUE(242)>FINONE(242,0,1) AND FINONE(242,0,1)>FINONE(242,0,2) AND FINONE(242,0,2)>FINONE(242,0,3),'持续三季度增长',''));
DRAWTEXT_FIX(ISLASTBAR AND ((FINVALUE(242)-FINONE(242,0,1))/FINONE(242,0,1))<=0,0.7,0.468,0,STRCAT('2、本期股东人数较上期加: ',STRCAT(CON2STR((FINVALUE(242)-FINONE(242,0,1))/FINONE(242,0,1)*100,2),STRCAT(' %,',GDRSLXZJFX)))),COLORFFAAFF;
DRAWTEXT_FIX(ISLASTBAR AND ((FINVALUE(242)-FINONE(242,0,1))/FINONE(242,0,1))> 0,0.7,0.468,0,STRCAT('2、本期股东人数较上期删: ',STRCAT(CON2STR((FINVALUE(242)-FINONE(242,0,1))/FINONE(242,0,1)*100,2),STRCAT(' %,',GDRSLXZJFX)))),COLORFFAA00;
HGH222:=STRCAT(STRCAT('占总股本 ',STRCAT(CON2STR(FINVALUE(247)/FINVALUE(238)*100,2),' % ')),STRCAT('占畅通盘 ',STRCAT(CON2STR(FINVALUE(247)/FINVALUE(239)*100,2),' % ')));
JGCGLXZJFX:=IF(FINONE(247,0,0)<FINONE(247,0,1) AND FINONE(247,0,1)<FINONE(247,0,2) AND FINONE(247,0,2)<FINONE(247,0,3),'持续三季度削减',IF(FINVALUE(247)>FINONE(247,0,1) AND FINONE(247,0,1)>FINONE(247,0,2) AND FINONE(247,0,2)>FINONE(247,0,3),'持续三季度增长',''));
DRAWTEXT_FIX(ISLASTBAR,0.7,0.555,0,STRCAT('3、共 ',STRCAT(CON2STR(FINVALUE(246),0),STRCAT(' 家机构,共持有 ',STRCAT(CON2STR(FINVALUE(247)/10000,2),' 万股'))))),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.7,0.642,0,HGH222),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.7,0.729,0,STRCAT('删幅 ',STRCAT(CON2STR((FINONE(247,0,0)-FINONE(247,0,1))/FINONE(247,0,1)*100,2),STRCAT(' % ',JGCGLXZJFX)))),COLORGREEN;
环比删加3:=(FINONE(284,0,0)-FINONE(284,0,1))/FINONE(284,0,1)*100;
HG333:=IF(环比删加3>0,VARCAT(VARCAT( '增长 ' ,VAR2STR( 环比删加3,2)),' % '),IF(环比删加3<0,VARCAT(VARCAT( '削减 ' ,VAR2STR(-环比删加3,2)),' % '),' '));
GJDCGLXFX:=IF(FINONE(284,0,0)<FINONE(284,0,1) AND FINONE(284,0,1)<FINONE(284,0,2) AND FINONE(284,0,2)<FINONE(284,0,3),'持续三季度削减',IF(FINVALUE(284)>FINONE(284,0,1) AND FINONE(284,0,1)>FINONE(284,0,2) AND FINONE(284,0,2)>FINONE(284,0,3),'持续三季度增长',''));
DRAWTEXT_FIX(ISLASTBAR,0.7,0.816,0,STRCAT('4、国度队持 ',STRCAT(CON2STR(FINVALUE(284),2),STRCAT(' 万股,占总股本 ',STRCAT(CON2STR(FINVALUE(284)*10000/FINVALUE(238)*100,2),' % '))))),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.7,0.903,0,STRCAT('较上期 ',STRCAT(HG333,GJDCGLXFX))),COLORWHITE;





上一篇:超强短线战法主图指标公式源码
下一篇:波段趋势强弱主图指标公式源码
您需要登录后才可以回帖 登录 | 立即注册 用百度帐号登录

本版积分规则

首发之家社区成立于2011年3月,内容涉及3C家电、数码生活智能电视,股票软件,4K,体育,软件,教育,游戏等资源指标公式论坛。
  • 官方手机版

  • 抖音号

  • 商务合作

  • Powered by Discuz! X3.4 | Copyright © 2011-2021, Tencent Cloud. | 首发之家社区
  • |网站地图 | mp4d@qq.com|小黑屋|手机版|