当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:V潜伏主图(同花顺指标 主图 源码 测试图)
软件名称:[B]V潜伏主图(同花顺指标 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:分享版
软件大小:11.0 KB
官方主页:Home Page
更新时间:2024-01-12 00:05:20
软件简介:
V潜伏主图
DRAWTEXT_FIX(ISLASTBAR, 0.03, 0.05, 0, '行业:' + BLOCK(0, 8) + " - " + BLOCK(1, 8) + " - " + BLOCK(2, 8)), colormagenta;
DRAWTEXT_FIX(ISLASTBAR, 0.03, 0.10, 0, '概念:' + BLOCK(3, 100)), colormagenta;
SDGB:=CGS1+CGS2+CGS3+CGS4+CGS5+CGS6+CGS7+CGS8+CGS9+CGS10;
DRAWTEXT_FIX(ISLASTBAR, 0.03, 0.15, 0, '自由流通市值:' + TOSTRING(ZYLTGB*CLOSE/100000000, 2) + "亿," + "安全封单:" + TOSTRING(ZYLTGB*0.2*CLOSE/100000000, 2) + "亿," + "评估封单:" + TOSTRING((ZGB-SDGB)*0.2*CLOSE/100000000, 2) + "亿"), colormagenta;
DRAWTEXT_FIX(ISLASTBAR, 0.03, 0.20, 0, '历史天量:' + TOSTRING(HHV(VOL, 0)/100/10000, 2) + "万," + "地量:" + TOSTRING(LLV(VOL,17)/100/10000, 2) + "万," + "最新量:" + TOSTRING(VOL/100/10000, 2) + "万," + "年内最大换手率:" + TOSTRING(HHV(VOL/CAPITAL*100, 250), 2) + "%"), colormagenta;
上轨:MA(CLOSE,60)+2*STD(CLOSE,60),colorcyan;
上上轨:MA(CLOSE,90)+2*STD(CLOSE,90),COLORC080FF;
下下轨:MA(CLOSE,90)-2*STD(CLOSE,90),COLORC080FF;
下轨:MA(CLOSE,60)-2*STD(CLOSE,60),colorcyan;
红:EMA(CLOSE,7),colorred,LINETHICK3;
绿:EMA(CLOSE,20),colorgreen,LINETHICK2;
生命线:EMA(CLOSE,144),colorred;
X_1:=1;
SWL:(EMA(CLOSE,10)*7+EMA(CLOSE,20)*3*X_1)/10;
SWS:DMA(EMA(CLOSE,20),MAX(1,100*(SUM(VOL,5)/(3*CAPITAL)))),DOTLINE,colorwhite;
DRAWBAND(SWL,RGB(255,100,100),SWS,RGB(64,204,208));
/*
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.6,0),colorred;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
*/
X_2:=HHV(CLOSE,2*X_1);
X_3:=LLV(CLOSE,2*X_1);
X_4:=MA(CLOSE,3*X_1);
X_5:=(3*CLOSE+LOW+OPEN+HIGH)/6;
X_6:=CLOSE>REF(CLOSE,1*X_1) AND CLOSE>REF(CLOSE,2);
X_7:=REF(X_6,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_8:=REF(X_7,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_9:=REF(X_8,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_10:=REF(X_9,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_11:=REF(X_10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_12:=REF(X_11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_13:=REF(X_12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_14:=REF(X_13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_15:=REF(X_14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_16:=REF(X_15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_17:=REF(X_16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_18:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
X_19:=REF(X_18,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_20:=REF(X_19,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_21:=REF(X_20,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_22:=REF(X_21,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_23:=REF(X_22,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_24:=REF(X_23,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_25:=REF(X_24,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_26:=REF(X_25,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_27:=REF(X_26,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_28:=REF(X_27,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_29:=REF(X_28,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_30:=REF(X_18 OR X_19 OR X_20 OR X_21 OR X_22 OR X_23 OR X_24 OR X_25 OR X_26 OR X_27 OR X_28 OR X_29,1) AND X_6;
X_31:=REF(X_6 OR X_7 OR X_8 OR X_9 OR X_10 OR X_11 OR X_12 OR X_13 OR X_14 OR X_15 OR X_16 OR X_17,1) AND X_18;
X_32:=X_6 OR X_7 OR X_8 OR X_9 OR X_10 OR X_11 OR X_12 OR X_13 OR X_14 OR X_15 OR X_16 OR X_17;
X_33:=IF(X_32,X_3,DRAWNULL);
X_34:=X_33;
X_35:=REF(X_33,1*X_1);
X_36:=X_18 OR X_19 OR X_20 OR X_21 OR X_22 OR X_23 OR X_24 OR X_25 OR X_26 OR X_27 OR X_28 OR X_29;
X_37:=IF(X_36,X_2,DRAWNULL);
X_38:=X_37;
X_39:=REF(X_38,1*X_1);
X_40:=X_30;
X_41:=X_31;
X_42:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<(-14);
X_43:=(20*X_5+19*REF(X_5,1)+18*REF(X_5,2)+17*REF(X_5,3)+16*REF(X_5,4)+15*REF(X_5,5)+14*REF(X_5,6)+13*REF(X_5,7)+12*REF(X_5,8)+11*REF(X_5,9)+10*REF(X_5,10)+9*REF(X_5,11)+8*REF(X_5,12)+7*REF(X_5,13)+6*REF(X_5,14)+5*REF(X_5,15)+4*REF(X_5,16)+3*REF(X_5,17)+2*REF(X_5,18)+REF(X_5,20))/211;
X_44:=MA(CLOSE,26);
X_45:=IF(X_4>X_43,X_43,X_4);
X_46:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);
X_47:=HIGH-REF(HIGH,1*X_1);
X_48:=REF(LOW,1*X_1)-LOW;
X_49:=SUM(IF(X_47>0 AND X_47>X_48,X_47,0),14);
X_50:=SUM(IF(X_48>0 AND X_48>X_47,X_48,0),14);
X_51:=X_49*100/X_46;
X_52:=X_50*100/X_46;
X_53:=X_51-X_52;
X_54:=X_53>=0 AND REF(X_53,1)<0;
/*
STICKLINE(ISLASTBAR AND (X_32 OR REF(X_32,1)=1),X_35,X_35,2.6,1),colorred;
STICKLINE(ISLASTBAR AND (X_36 OR REF(X_36,1)=1),X_39,X_39,2.6,1),colorligray;
STICKLINE(CLOSE>=OPEN,LOW,HIGH,0,0),colorred;
STICKLINE(CLOSE<OPEN,LOW,HIGH,0,0),COLOR00BD00;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,2.6,0),colorred;
STICKLINE(X_32,CLOSE,OPEN,2.6,0),colorred;
STICKLINE(X_36,CLOSE,OPEN,2.6,0),colorligray;
x_55:=CLOSE-OPEN;
STICKLINE(X_42,OPEN,CLOSE-x_55/2,2.6,0),colorligray;
STICKLINE(X_40,OPEN,CLOSE,2.6,0),coloryellow;
STICKLINE(X_40 AND X_54,OPEN,CLOSE,2.6,0),COLORFF8000;
STICKLINE(X_41,OPEN,CLOSE,2.6,0),colorgreen;
DRAWTEXT(X_40 AND X_54,LOW*0.99,1),COLORFF8000;
*/
X_56:=(HIGH+LOW+OPEN+2*CLOSE)/5;
X_57:=2*X_56-LOW;
X_58:=2*X_56-HIGH;
X_59:=X_56+(HIGH-LOW);
X_60:=X_56-(HIGH-LOW);
X_61:=REF(X_57,1);
X_62:=REF(X_58,1);
X_63:=IF(MA(CLOSE,5)>MA(CLOSE,10),20,0);
X_64:=IF(MA(CLOSE,20)>MA(CLOSE,60*X_1),10,0);
X_65:=IF(KDJ.J>KDJ.K,10,0);
X_66:=IF(MACD.DIFF>MACD.DEA,10,0);
X_67:=IF(MACD.MACD>0,10,0);
X_68:=IF(VOL>MA(VOL,60),10,0);
X_69:=IF(WINNER(CLOSE)>0.5,10,0);
X_70:=IF(CLOSE/REF(CLOSE,1)>1.03,10,0);
X_71:=X_63+X_64+X_65+X_66+X_67+X_68+X_69+X_70;
/*
支撑:X_58,NODRAW;
反转:X_60,NODRAW;
天哥评分:X_71,NODRAW,colorred;
*/
潜伏信号:X_40 AND X_54,NODRAW;
DRAWTEXT(潜伏信号, OPEN, '↖潜伏'),colormagenta,LINETHICK2;
XX_1:=1;
XX_2:=MA(CLOSE,1*XX_1);
XX_3:=(LOW+HIGH+CLOSE)/3;
XX_4:=MA(XX_3,5*XX_1);
XX_5:=HHV(XX_4,11*XX_1);
XX_6:=HHV(XX_2<XX_5,10) OR HHV(XX_2<XX_5,10);
XX_7:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,35)-LLV(LOW,34)),3);
VAR1:=MA(CLOSE,5*XX_1);
VAR2:=MA(CLOSE,13*XX_1);
VAR3:=MA(CLOSE,21*XX_1);
VAR44:=MA(CLOSE,60*XX_1);
VAR55:=MA(CLOSE,144*XX_1);
XX_8:=OPEN<VAR1 OR OPEN<VAR2 OR OPEN<VAR3;
XX_9:=CLOSE>MAX(VAR1,MAX(VAR2,MAX(VAR3,VAR44)));
XX_10:=VOL/MA(VOL,30)>1.2;
XX_11:=CLOSE/REF(CLOSE,1)>1.049;
XX_12:=XX_8 AND XX_9 AND XX_10 AND XX_11;
XX_13:=XX_12 AND (REF(BARSLAST(XX_12),1)>60 OR BARSSINCE(XX_12)=0);
捉妖信号:XX_13,NODRAW;
DRAWTEXT(捉妖信号, OPEN, '↖妖'),coloryellow,LINETHICK2;
/*
K1:=REF(OPEN,2)>REF(CLOSE,2);
K2:=REF(CLOSE,1)<REF(OPEN,2);
K3:=REF(CLOSE,0)>REF(OPEN,0) AND REF(CLOSE,0)>REF(HIGH,1);
DRAWTEXT(K1 AND K2 AND K3, LOW, '↖底'),colorred;
K1:=REF(OPEN,2)<REF(CLOSE,2);
K2:=REF(CLOSE,1)>REF(OPEN,2);
K3:=REF(CLOSE,0)<REF(OPEN,0) AND REF(CLOSE,0)<REF(LOW,1);
DRAWTEXT(K1 AND K2 AND K3, LOW, '↖顶'),colorgreen;
*/
[url=http://www.70822.com/soft/sort013/sort036/down-170768.html]V潜伏主图(同花顺指标 主图 源码 测试图)[/url]