闪灵交易者交易策略文华财经源码
文华财经期货软件指标公式源码赢顺云指标趋势多空买卖点指标
文华财经期货软件指标公式源码赢顺云指标趋势多空买卖点指标>注意:以下公式源码仅供参考,未经确认请勿引用。
引言本文介绍了文华财经期货软件的指标公式源码,其中包括赢顺云指标、趋势指标以及多空买卖点指标。
这些指标可以帮助财经期货软件用户更好地分析市场走势和进行交易决策。
赢顺云指标赢顺云指标是一种技术分析指标,用于判断股票、期货等市场的买卖信号。
以下是该指标的公式源码:// 赢顺云指标公式源码def win_cloud(close, high, low):boll = sma(close, 20)upper_band = boll + stddev(close, 20)lower_band = boll - stddev(close, 20)condition1 = high > upper_band or low < lower_bandcondition2 = close > high[1] and close > low[1]win_cloud_result = condition1 and condition2return win_cloud_result趋势指标趋势指标是一种用于分析市场趋势的技术指标。
以下是文华财经期货软件中的趋势指标公式源码示例:// 趋势指标公式源码def trend_indicator(close, ma):trend_result = close > mareturn trend_result多空买卖点指标多空买卖点指标是一种判断多空力量对比的指标,用于预测市场的买卖信号。
以下是文华财经期货软件中的多空买卖点指标公式源码示例:// 多空买卖点指标公式源码def long_short_signal(close, ma_fast, ma_slow):condition1 = close > ma_fast and close > ma_slowcondition2 = close > close[1]long_short_result = condition1 and condition2return long_short_result结论本文介绍了文华财经期货软件中的指标公式源码,包括赢顺云指标、趋势指标以及多空买卖点指标。
已破解的交易策略源码[文华财经公式]
已破解的交易策略源码:DIRECTION:=CLOSE-REF(CLOSE,10);VOLATILITY:=SUM(ABS((CLOSE-REF(CLOSE,1))),10);ER:=ABS(DIRECTION/VOLATILITY);FASTSC:=2/(2 + 1);SLOWSC:=2/(30 + 1);SSC:=ER*(FASTSC-SLOWSC)+SLOWSC;:c,nodraw;CONSTANT:=SSC*SSC;AMAHIGH:=REF(EMA(HIGH,100),1)+CONSTANT*(HIGH- EMA(HIGH,100)); AMACLOSE:=REF(EMA(CLOSE,100),1)+CONSTANT*(CLOSE- REF(EMA(CLOSE,100),1)); AMALOW:=REF(EMA(LOW,100),1)+CONSTANT*(LOW- EMA(LOW,100));REF(LOW>AMAHIGH,1),BK;REF(CLOSE<AMACLOSE OR CLOSE<=0.995*BKPRICE,1),SP;REF(HIGH<AMALOW,1),SK;REF(CLOSE>AMACLOSE OR CLOSE>=1.005*SKPRICE,1),BP;AUTOFILTER;源码解析:DIRECTION赋值:收盘价-10日前的收盘价VOLATILITY赋值:(收盘价-昨收)的绝对值的10日累和ER赋值:DIRECTION/VOLATILITY的绝对值FASTSC赋值:2/(2 + 1)SLOWSC赋值:2/(30 + 1)SSC赋值:ER*(FASTSC-SLOWSC)+SLOWSC输出:收盘价,NODRAWCONSTANT赋值:SSC*SSCAMAHIGH赋值:昨日最高价的100日指数移动平均+CONSTANT*(最高价- 最高价的100日指数移动平均)AMACLOSE赋值:昨日收盘价的100日指数移动平均+CONSTANT*(收盘价- 昨日收盘价的100日指数移动平均)AMALOW赋值:昨日最低价的100日指数移动平均+CONSTANT*(最低价- 最低价的100日指数移动平均)昨日最低价>AMAHIGH,BK昨日收盘价<AMACLOSEORCLOSE<=0.995*BKPRICE,SP昨日最高价<AMALOW,SK昨日收盘价>AMACLOSEORCLOSE>=1.005*SKPRICE,BPAUTOFILTER。
文华财经指标公式源码文华财经指标CCI指标RSI指标共振
文华财经指标公式源码文华财经指标CCI指标RSI指标共振文华财经指标公式源码——文华财经指标CCI指标、RSI指标共振CCI指标CCI指标的计算公式如下:def calculate_CCI(close_prices, high_prices, low_prices, period):typical_prices = (high_prices + low_prices + close_prices) / 3average_price = np.average(typical_prices[1:period+1])mean_deviation = np.mean(np.abs(typical_prices[1:period+1] - average_price))CCI = (typical_prices - average_price) / (0.015 * mean_deviation)return CCI示例用法close_prices = [112.32, 113.45, 111.98, 110.76, 109.99, 111.02, 112.67, 112.33, 111.81]high_prices = [113.78, 114.48, 113.42, 112.58, 111.67, 112.4, 113.41, 113.34, 112.1]low_prices = [111.93, 112.86, 111.4, 110.05, 109.87, 109.74, 112.08, 111.66, 111.58]period = 9CCI = calculate_CCI(close_prices, high_prices, low_prices, period)RSI指标RSI指标(Relative Strength Index)是一种用来分析价格走势的技术指标,它主要通过计算一段时间内上涨日和下跌日的平均涨幅来衡量市场的强弱程度。
文华财经指标公式源码主力进出主力
天知1:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);STICKLINE1(REF(天知1,1) >天知1,天知1,REF(天知1,1),8,1),COLORCYAN ;STICKLINE1(REF(天知1,1)<天知1,天知1,REF(天知1,1),8,1), COLORRED;ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/25000,2);M1:=EMA(ABV,12);M2:=EMA(ABV,26);MTM:=CLOSE-REF(CLOSE,1);MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));MTGJ:=C-REF(C,1);ZLGJ:=100*EMA(EMA(MTGJ,9),9)/EMA(EMA(ABS(MTGJ),9),9);MAZL:=MA(ZLGJ,5);CA PITAL:=GETPRICE1(“流通股本“);A:=((VOL)/(CAPITAL))*(100);INDEXV:=“999001$V“;INDEXAV:=“999001$AVPRICE“;INDEXA:=INDEXAV*INDEXV;S:=((MA(A,30))/(MA(INDEXA,10)))*(MA(INDEXA,60));Y:=((MA(A,120))/(MA(INDEXA,10)))*(MA(INDEXA,60));X:=1;V1:=(HIGH+OPEN+LOW+(2)*(CLOSE))/(5);V2:=REF(V1,1);V3:=MAX(V1-V2,0);V4:=ABS(V1-V2);V5:=SMA(V3,10,1);V6:=SMA(V4,10,1);V8:=COUNT(((V5)/(V6)<0.2),5);V9:=COUNT((LLV(V1,10)=V1),10);主力进出:IF((MMS>REF(MMS,1)AND ZLGJ>REF(ZLGJ,1)ANDCROSS(ABV,M2)AND ABV>REF(ABV,1)AND M1>REF(M1,1)ANDM2>REF(M2,1)),65,0),COLORWHITE,POINTDOT;主进主轨:=ABV>M2 AND CROSS(ABV,M1) AND CROSS(ZLGJ,MAZL);STICKLINE1(主力进出OR 主进主轨,65,0,4,1),COLORWHITE;精准买卖:=V8>=1AND V9>=1AND CLOSE>OPEN ANDREF(CLOSE,1)>REF(OPEN,1)AND (VOL>REF(VOL,1)) AND MMS>MML AND CROSS(ABV,M2);短线买点:=V8>=1AND V9>=1AND CLOSE>OPEN ANDREF(CLOSE,1)>REF(OPEN,1)AND (VOL>REF(VOL,1)) AND CROSS(MMS,MML) AND ABV>REF(ABV,1);中线买点:=V8>=1AND V9>=1AND CLOSE>OPEN ANDREF(CLOSE,1)>REF(OPEN,1)AND (VOL>REF(VOL,1))AND ABV>REF(ABV,1)AND MMS>MML AND CROSS(MMM,MML)AND MMS>REF(MMS,1)ANDMMM>REF(MMM,1)AND MML>REF(MML,1);主进主买:=ABV>M2 AND ZLGJ>MAZL AND CROSS(MMS,MML) AND MMS>REF(MMS,1)AND MMM>REF(MMM,1) AND MML>REF(MML,1);短中精:=精准买卖OR 短线买点OR 中线买点OR 主进主买;主力买卖:IF(短中精,60,0),COLORFF00FF,POINTDOT;STICKLINE1(主力买卖,60,0,4,1),COLORFF00FF;主力轨迹:IF(ABV>M2AND MMS>MML AND CROSS(ZLGJ,MAZL)AND ZLGJ>REF(ZLGJ,1) ANDMAZL>REF(MAZL,1),55,0),COLORFFCC66,POINTDOT;STICKLINE1(主力轨迹,55,0,4,1),COLORFFCC66;拉升在即:IF(S<XAND Y<X AND MMS>MML AND ABV>M1AND CROSS(S,Y),50,0),COLORYELLOW,POINTDOT;STICKLINE1(拉升在即,50,0,4,1),COLORYELLOW;底部构成:IF(V8>=1AND V9>=1AND CLOSE>OPEN ANDREF(CLOSE,1)>REF(OPEN,1)AND VOL>REF(VOL,1)AND ABV>M2AND ZLGJ>MAZL,45,0),COLOR00FF00,POINTDOT;STICKLINE1(底部构成,45,0,4,1),COLOR00FF00;ROC:=(CLOSE-REF(CLOSE,12))/REF(CLOSE,12)*100;HSL:=100*VOL/CAPITAL;冲击波:IF(CROSS(ROC,16) AND HSL>3.5,40,0),COLOR0099FF,POINTDOT;STICKLINE1(冲击波,40,0,4,1),COLOR0099FF;。
期货界最精准文华财经指标公式源码
期货界最精准文华财经指标公式源码
欢迎使用文华财经指标公式源码文档。
本文档旨在为您提供关于期货界最精准文华财经指标公式的详细信息。
以下是指标公式源码及相关说明。
指标公式源码
示例指标公式:文华财经最精准指标
def wh_finance_indicator(data):
计算指标值
indicator_value = sum(data) / len(data)
return indicator_value
说明
1. 函数名称:`wh_finance_indicator`
- 该函数用于计算文华财经最精准指标的值。
- 输入参数:`data`,表示需要计算指标的数据列表。
- 返回值:`indicator_value`,表示计算得到的指标值。
2. 指标计算:
- 本示例指标公式计算的是数据列表的平均值。
- 您可以根据实际需求,对公式进行修改和调整,以实现更精准的指标计算。
3. 使用方法:
- 将上述代码复制到您的编程环境中。
- 根据实际需求,修改输入参数 `data`。
- 运行代码,获取指标值 `indicator_value`。
注意事项
1. 在使用指标公式时,请确保您了解指标的计算原理和适用场景。
2. 根据实际需求,调整公式中的计算逻辑。
3. 如果您在使用过程中遇到问题,请随时查阅相关文档或咨询技术支持。
希望这份文档能够帮助您更好地理解和使用期货界最精准文华财经指标公式。
祝您在使用过程中取得优秀的交易成果!。
文华财经指标公式源码文华财经指标突破顶底出击
/*{-----主图资金模块-----}超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)-(超S+大S),COLORRED,NODRAW;净流入:=(超B+大B+中B+小B)-(超S+大S+中S+小S);大宗进:=(超B)+(大B);大宗出:=(超S)+(大S);非大宗进:=(中B)+(小B);非大宗出:=(中S)+(小S);主力买力度:=LARGEINTRDVOL*100/VOL,NODRAW;主力卖力度:=LARGEOUTTRDVOL*100/VOL,NODRAW; DRAWRECTREL(0,530,235,999.2,IF(120,RGB(0,10,47),0)); DAZHIV:=CONST(MAX(ABS(大宗进),MAX(ABS(大宗出),MAX(ABS(非大宗进),ABS(非大宗出))))),NODRAW;{DAZHIV:=CONST(MAX(ABS(净流入),MAX(ABS(大宗进),MAX(ABS(大宗出),MAX(ABS(非大宗进),ABS(非大宗出))))));} DRAWRECTREL(10,CONST(950-(ABS(净流入)*250/DAZHIV)),40,950,IF(CONST(净流入>0),RGB(250,0,0),RGB(0,250,0)));DRAWRECTREL(55,CONST(950-(ABS(大宗进)*250/DAZHIV)),80,950,IF(CONST(大宗进>0),RGB(255,0,255),RGB(0,0,50)));DRAWRECTREL(84,CONST(950-(ABS(大宗出)*250/DAZHIV)),109,950,IF(CONST(大宗出>0),RGB(50,50,255),RGB(255,0,0)));DRAWRECTREL(120,CONST(950-(ABS(非大宗进)*250/DAZHIV)),145,950,IF(CONST(非大宗进>0),RGB(250,0,250),RGB(0,0,50)));DRAWRECTREL(149,CONST(950-(ABS(非大宗出)*250/DAZHIV)),174,950,IF(CONST(非大宗出>0),RGB(50,50,250),RGB(255,0,0)));DRAWTEXT_FIX(CURRBARSCOUNT=1,0.00,1,0,'资金驱动主力进出散户进出'),COLORWHITE;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.008,0.68,0,'净流入'),COLORRED;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.008,0.82,0,INTPART(净流入)),COLORWHITE;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.052,0.88,0,INTPART(大宗进)),COLORWHITE;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.085,0.82,0,INTPART(大宗出)),COLORWHITE;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.118,0.88,0,INTPART(非大宗进)),COLORWHITE;DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.146,0.82,0,INTPART(非大宗出)),COLORWHITE;主买A:=ACTINVOL,COLORRED,NODRAW;主卖A:=ACTOUTVOL,COLORGREEN,NODRAW;主买:主买A*100/(主买A+主卖A),COLORRED,NODRAW;主卖:主卖A*100/(主买A+主卖A),COLORGREEN,NODRAW; DRAWRECTREL(0,530,176,580,RGB(0,100,0)); {DRAWRECTREL(50,530,176,580,RGB(0,125,200));} DRAWRECTREL(50,530,50+CONST(主买*120/100),580,RGB(175,50,250));DRAWTEXT_FIX(1,0.00,0.53,0,STRCAT(STRCAT('买卖比:',CON2STR(主买,2)),' %')),COLORYELLOW;DRAWTEXT_FIX(1,0.12,0.53,0,STRCAT(STRCAT('',CON2STR(主卖,2)),' %')),COLORYELLOW;DRAWRECTREL(1,580,176,630,RGB(0,50,150)); DRAWRECTREL(110,580,176,630,RGB(0,200,50));DRAWRECTREL(50,580,50+CONST(主力买力度*120/100),630,RGB(200,0,50));DRAWTEXT_FIX(1,0.00,0.58,0,STRCAT(STRCAT('买卖力:',CON2STR(主力买力度,2)),' %')),COLORYELLOW; DRAWRECTREL(110,580,176-CONST(主力买力度*120/100),630,RGB(0,50,155));DRAWTEXT_FIX(1,0.12,0.58,0,STRCAT(STRCAT('',CON2STR(主力卖力度,2)),' %')),COLORYELLOW;DDX:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*100000/FINANCE(7), NODRAW;DDY:=IF(TRADENUM>0,(TRADEOUTNUM-TRADEINNUM)*100/TRAD ENUM,0);DDZ:=IF(TRADENUM>0,(LARGETRDINNUM-LARGETRDOUTNUM)/TR ADENUM*100,0);DRAWRECTREL(177,530,235,580,IF(CONST(DDX)>0,RGB(255,0,0),R GB(0,150,0)));DRAWRECTREL(177,580,235,630,IF(CONST(DDX)>0,RGB(255,0,0),R GB(0,150,0)));DRAWRECTREL(177,692,235,742,IF(CONST(DDY)>0,RGB(255,0,0),R GB(0,150,0)));DRAWRECTREL(177,742,235,792,IF(CONST(DDY)>0,RGB(255,0,0),R GB(0,150,0)));DRAWRECTREL(177,842,235,892,IF(CONST(DDZ)>0,RGB(255,0,0),R GB(0,150,0)));DRAWRECTREL(177,892,235,942,IF(CONST(DDZ)>0,RGB(255,0,0),R GB(0,150,0)));DRAWTEXT_FIX(1,0.19,0.53,0,STRCAT('',CON2STR(DDX,2))),COLOR YELLOW;DRAWTEXT_FIX(1,0.19,0.69,0,STRCAT('',CON2STR(DDY,2))),COLOR YELLOW;DRAWTEXT_FIX(1,0.19,0.84,0,STRCAT('',CON2STR(DDZ,2))),COLOR YELLOW;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.180,0.64,0,'大单动向'),COLORWHITE;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.180,0.80,0,'涨跌动因'),COLORWHITE;DRAWTEXT_FIX(CURRBARSCOUNT=1,0.180,0.95,0,'大单差分'),COLORWHITE;T1:=IF (DDX>0 AND REF(DDX,1)<0,1,0);T2:=IF (DDX>0 AND REF(DDX,1)>0 AND REF(DDX,2)<0,2,T1);*/高1:=REF(HHV(H,150),3);低1:=REF(LLV(L,150),3);H1:=高1-(高1-低1)*0.191;H2:=高1-(高1-低1)*0.382;H3:=高1-(高1-低1)*0.5;H4:=高1-(高1-低1)*0.618;H5:=高1-(高1-低1)*0.809;突破:REF(EMA(C,14),1),COLORMAGENTA,LINETHICK2;顶:REFX1(高1,10000),POINTDOT,COLORWHITE;A1X:=(EMA(C,14)-突破)/突破*100;出击:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),NULL),COLORRED,LINET HICK2;休假:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),NULL),COLORGREEN,LINE THICK2;STICKLINE1(A1X>=0,出击,突破,0,-1),COLORRED;STICKLINE1(A1X<0,休假,突破,0,-1),COLORGREEN;STICKLINE1(CROSS(A1X,0),C,O,2,0),COLORYELLOW;STICKLINE1(CROSS(0,A1X),C,O,2,0),COLORGREEN;趋势分界线:IF(A1X<0,突破,NULL),COLORGREEN,LINETHICK2;。
文华财经:期货行业最准确的指标公式源码
文华财经:期货行业最准确的指标公式源码引言本文档旨在介绍文华财经所提供的期货行业最准确的指标公式源码。
这些指标公式可以帮助投资者更好地分析期货市场,做出明智的投资决策。
指标公式源码以下是文华财经提供的期货行业最准确的指标公式源码:1. 移动平均线(Moving Average):MA(n) = sum(close, n) / n其中,`close`代表收盘价,`n`代表计算的周期。
2. 相对强弱指标(Relative Strength Index,简称RSI):RSI(n) = 100 - (100 / (1 + RS))RS = avg(upward_close, n) / avg(downward_close, n)其中,`upward_close`代表收盘价上涨的部分,`downward_close`代表收盘价下跌的部分,`n`代表计算的周期。
3. 随机指标(Stochastic Oscillator):%K(n) = (close - min(low, n)) / (max(high, n) - min(low, n)) * 100 %D(n) = MA(%K, m)其中,`low`代表最低价,`high`代表最高价,`n`代表计算%K 的周期,`m`代表计算%D的周期。
4. 平均真实范围(Average True Range,简称ATR):TR(n) = max(high - low, abs(high - close_prev), abs(low -close_prev))ATR(n) = MA(TR, n)其中,`close_prev`代表前一日的收盘价,`n`代表计算的周期。
5. 动量指标(Momentum):MOM(n) = close - close_prev其中,`close_prev`代表前一日的收盘价,`n`代表计算的周期。
结论以上是文华财经所提供的期货行业最准确的指标公式源码。
文华财经:期货行业最准确的指标公式源码
文华财经:期货行业最准确的指标公式源码1. 简介文华财经是中国期货行业领先的信息技术服务提供商,为期货交易者提供了一系列高性能、高可靠性的交易软件和量化策略工具。
本文将详细介绍文华财经中几种常用且精准的期货指标公式源码,以帮助交易者更好地理解和应用这些工具。
2. 移动平均线(MA)移动平均线是最常用的技术分析指标之一,用以显示一定时间内价格的平均值。
2.1 简单移动平均线(SMA)简单移动平均线(SMA)的计算公式如下:def calculate_sma(prices, window_size):return np.mean(prices[-window_size:])其中,`prices` 是收盘价列表,`window_size` 是移动平均线的周期。
2.2 指数移动平均线(EMA)指数移动平均线(EMA)对近期价格更为敏感,其计算公式为:def calculate_ema(prices, window_size):return (2 / (window_size + 1)) * prices[-1] + (1 - 2 / (window_size+ 1)) * calculate_sma(prices, window_size)3. 相对强弱指数(RSI)相对强弱指数(RSI)是衡量资产价格动量的常用指标,其值介于0和100之间。
def calculate_rsi(gains, losses, window_size):if len(gains) < window_size or len(losses) < window_size:return Nonegain_avg = np.mean(gains[-window_size:])loss_avg = np.mean(losses[-window_size:])if loss_avg == 0:return 100else:return 100 - (100 / (1 + gain_avg / loss_avg)))其中,`gains` 是价格涨幅列表,`losses` 是价格跌幅列表,`window_size` 是计算RSI的周期。
文华财经指标公式源码主力进出主力
天知 1:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);STICKLINE1(REF(天知 1,1) >天知 1,天知 1,REF(天知 1,1),8,1),COLORCYAN ;STICKLINE1(REF(天知 1,1)<天知 1,天知 1,REF(天知 1,1),8,1), COLORRED;ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/25000,2);M1:=EMA(ABV,12);M2:=EMA(ABV,26);MTM:=CLOSE-REF(CLOSE,1);MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));MTGJ:=C-REF(C,1);ZLGJ:=100*EMA(EMA(MTGJ,9),9)/EMA(EMA(ABS(MTGJ),9),9);MAZL:=MA(ZLGJ,5);CAPITAL:=GETPRICE1('流通股本 ');A:=((VOL)/(CAPITAL))*(100);INDEXV:="999001$V";INDEXAV:="999001$AVPRICE";INDEXA:=INDEXAV*INDEXV;S:=((MA(A,30))/(MA(INDEXA,10)))*(MA(INDEXA,60));Y:=((MA(A,120))/(MA(INDEXA,10)))*(MA(INDEXA,60));X:=1;V1:=(HIGH+OPEN+LOW+(2)*(CLOSE))/(5);V2:=REF(V1,1);V3:=MAX(V1-V2,0);V4:=ABS(V1-V2);V5:=SMA(V3,10,1);V6:=SMA(V4,10,1);V8:=COUNT(((V5)/(V6)<0.2),5);V9:=COUNT((LLV(V1,10)=V1),10);主力进出 :IF((MMS>REF(MMS,1)AND ZLGJ>REF(ZLGJ,1)ANDCROSS(ABV,M2)AND ABV>REF(ABV,1)AND M1>REF(M1,1)ANDM2>REF(M2,1)),65,0),COLORWHITE,POINTDOT;主进主轨 :=ABV>M2 AND CROSS(ABV,M1) AND CROSS(ZLGJ,MAZL);STICKLINE1(主力进出 OR 主进主轨 ,65,0,4,1),COLORWHITE;精准买卖 :=V8>=1AND V9>=1AND CLOSE>OPEN ANDREF(CLOSE,1)>REF(OPEN,1)AND (VOL>REF(VOL,1)) AND MMS>MMLAND CROSS(ABV,M2);短线买点 :=V8>=1AND V9>=1AND CLOSE>OPEN ANDREF(CLOSE,1)>REF(OPEN,1)AND (VOL>REF(VOL,1)) AND CROSS(MMS,MML) AND ABV>REF(ABV,1);中线买点 :=V8>=1AND V9>=1AND CLOSE>OPEN ANDREF(CLOSE,1)>REF(OPEN,1)AND (VOL>REF(VOL,1))ANDABV>REF(ABV,1)AND MMS>MML AND CROSS(MMM,MML)ANDMMS>REF(MMS,1)AND MMM>REF(MMM,1)AND MML>REF(MML,1);主进主买 :=ABV>M2 AND ZLGJ>MAZL AND CROSS(MMS,MML) AND MMS>REF(MMS,1)AND MMM>REF(MMM,1) AND MML>REF(MML,1);短中精 :=精准买卖 OR 短线买点 OR 中线买点 OR 主进主买 ;主力买卖 :IF(短中精 ,60,0),COLORFF00FF,POINTDOT;STICKLINE1(主力买卖 ,60,0,4,1),COLORFF00FF;主力轨迹 :IF(ABV>M2AND MMS>MML AND CROSS(ZLGJ,MAZL)AND ZLGJ>REF(ZLGJ,1) ANDMAZL>REF(MAZL,1),55,0),COLORFFCC66,POINTDOT;STICKLINE1(主力轨迹,55,0,4,1),COLORFFCC66;拉升在即 :IF(S<XAND Y<X AND MMS>MML AND ABV>M1ANDCROSS(S,Y),50,0),COLORYELLOW,POINTDOT;STICKLINE1(拉升在即 ,50,0,4,1),COLORYELLOW;底部构成 :IF(V8>=1AND V9>=1AND CLOSE>OPEN ANDREF(CLOSE,1)>REF(OPEN,1)AND VOL>REF(VOL,1)AND ABV>M2AND ZLGJ>MAZL,45,0),COLOR00FF00,POINTDOT;STICKLINE1(底部构成 ,45,0,4,1),COLOR00FF00;ROC:=(CLOSE-REF(CLOSE,12))/REF(CLOSE,12)*100;HSL:=100*VOL/CAPITAL;冲击波 :IF(CROSS(ROC,16) AND HSL>3.5,40,0),COLOR0099FF,POINTDOT;STICKLINE1(冲击波 ,40,0,4,1),COLOR0099FF;。
文华财经指标公式源码最神奇的主图买卖指标公式源码
/* AMV0:=VOL*(O+C)/2;CG:MA(C,3),COLORFFCC66,LINETHICK2;FL:=HHV(CG,2);黄金线:HHV(CG,2),COLOR00FF00;FS:CG-(FL-CG),COLORRED,LINETHICK2;十:MA(C,13),COLOR00FFFF,LINETHICK2;涨:IF(MA(CLOSE,13)>REF(MA(CLOSE,13),1),MA(CLOSE,13),DRAWN ULL),COLORRED,LINETHICK2;平:IF(MA(CLOSE,13)=REF(MA(CLOSE,13),1),MA(CLOSE,13),DRAWN ULL),COLOR00FFFF,LINETHICK3;跌:IF(MA(CLOSE,13)<REF(MA(CLOSE,13),1),MA(CLOSE,13),DRAWN ULL),COLORGREEN,LINETHICK2;DRAWTEXT(平=十,十*0.998-0.01,'关注'),COLORCYAN;TY:=C;A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10);C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10);C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);A:=REF(C,BARSLAST(HD)); B:=REF(C,BARSLAST(LD));T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);波峰:IF(T1,A,A),COLORFF00FF,POINTDOT;STICKLINE(T1,A,A,9,0),COLORFF00FF;波谷:IF(T2,B,B),COLOR80FF00,POINTDOT;STICKLINE(T2,B,B,9,0),COLOR80FF00;VAR3:=LLV(HIGH,240); VAR4:=100*(CLOSE-VAR3)/VAR3;VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*10 0;VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530) )*100;VAR7:=0;VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-R EF(CLOSE,1)),7,1)*100;VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-R EF(CLOSE,1)),13,1)*100;VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0); VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) ANDREF(ZIG(3,6),1)<=REF(ZIG(3,6),2) ANDREF(ZIG(3,6),2)<=REF(ZIG(3,6),3);VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3); VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3); VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3); VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3); VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3); VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3); VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);买1:=VAR10;买2:=(VAR11+VAR13+VAR15+VAR17);卖1:=(VAR12+VAR14+VAR16+VAR18);DRAWTEXT(买1>0 OR 买2>0,LOW*0.99,'买'),COLORRED;S:IF(卖1>0,HIGH*1.01,DRAWNULL),CROSSDOT,LINETHICK3,COLORGREE N;DRAWTEXT(卖1>0,HIGH*1.02,'卖'),COLORGREEN;{股灵吧决策}VAR100:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20))));VAR200:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20))));VAR300:=(100 - MA(((100 * (HHV(HIGH,5) - CLOSE)) / (HHV(HIGH,5) - LLV(LOW,5))),34));X1:=(C+L+H)/3;X2:=EMA(X1,6);X3:=EMA(X2,5);GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5));GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1); GR4:=H=HHV(H,GR1);GR5:="MACD.MACD"(9,17,8)<REF("MACD.MACD"(9,17,8),1);STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORRED; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR000055; STICKLINE(CLOSE>REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR000077;STICKLINE(CLOSE>REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR000099;STICKLINE(CLOSE>REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000BB;STICKLINE(CLOSE>REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0000DD;STICKLINE(CLOSE>REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0000FF;STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORWHITE; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR555555; STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR777777;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR999999;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD;*/趋势5:MA(CLOSE,5);CURRBARSCOUNT:=DATACOUNT - BARPOS;拐头卖10:MA(CLOSE,10);方向15:MA(CLOSE,15);中心线:(MA(C,30)+MA(C,72))/2,COLORGRAY,DOT;脱离价格1:中心线*1.2,COLORGRAY,DOT;脱离价格2:中心线*0.8,COLORGRAY,DOT;地心引力线:(MA(C,30)+MA(C,72))/2,COLORGRAY,DOT;地心引力区1:地心引力线*1.1,COLORGRAY,DOT;地心引力区2:地心引力线*0.9,COLORGRAY,DOT;DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);平空开多:=CROSS(MACD,0);平多开空:=CROSS(0,MACD);//BUYSHORT_BUY(平空开多,LOW);//SELL_SELLSHORT(平多开空,HIGH);//AUTOFILTER;N:=10;T1:=REFX1(HHVBARS(V,N),10000);T0:IF(CURRBARSCOUNT<=N+3,REFX1(IF(T1=0,C,REF(C,T1)),10000),NULL),COLORYELLOW,DOT; IF(CURRBARSCOUNT=T1+1,T0,NULL),CIRCLEDOT,COLORFF00FF;涨跌:=REF(C,1);涨停:=IF((C-涨跌)*100/涨跌>=(10-0.01*100/涨跌),1,0);STICKLINE1(涨停,OPEN,CLOSE,2,0),COLORMAGENTA;STICKLINE1(涨停,H,L,0,0),COLORMAGENTA;ZT:=C/REF(C,1)>1.0945 AND C=H;AA:=BACKSET(ZT AND CURRBARSCOUNT<60,0);AC:=REF(C,BARSLAST(AA));STICKLINE1(C,AC,AC,5,0),COLORMAGENTA;VAR4:=PEAKBARS(C,15,1,1)<10;VAR5:=IF(VAR4=1,2,0);顶:= IF(VAR5=2,2,0);中线卖出:=IF(顶>REF(顶,1),1,0);止损价:IF(中线卖出=1, C*0.9,0), POINTDOT,COLOR00FF00,LINETHICK5;STICKLINE1(止损价,C*0.9,C*0.9,200,1),COLORRED,COLORGREEN;MA5:=MA(C,5);角度: ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416,NODRAW;。
文华财经指标公式源码主力进出主力
文华财经指标公式源码主力进出主力```python
import numpy as np
import pandas as pd
def main_force_index(close, volume, window):
#计算主力进出主力指标
mf_volume = (close - close.shift(1)) * volume
#计算主力进出主力指标的移动平均值
force_index =
pd.Series(mf_volume.rolling(window=window).sum(, name='主力进出主力指标')
return force_index
```
这段源码实现了文华财经指标中的主力进出主力指标计算。
主力进出主力指标的计算步骤如下:
1.计算每日主力进出主力的成交量:`(当日收盘价-前一日收盘价)*成交量`
2. 计算主力进出主力指标的移动平均值:`主力进出主力成交
量.rolling(window=窗口大小).sum(`
该函数的输入参数含义如下:
- `close`:股票收盘价的时间序列数据,类型为`pd.Series`。
- `volume`:股票成交量的时间序列数据,类型为`pd.Series`。
- `window`:移动平均窗口大小,表示计算主力进出主力指标的移动平均值时考虑的历史数据数量,类型为整数。
该函数的输出结果为一个`pd.Series`对象,其中包含了每日的主力进出主力指标值。
文华财经指标公式源码5分钟准确率95指标期货软件指标公式源码
/*VAR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));成交:=VOL;买盘:=IF((CLOSE > OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));卖盘:=IF((CLOSE > OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2))));买卖差:=(买盘 + 卖盘);STICKLINE((VOL > 0),VOL,0,4,1),colorFFFFFF;STICKLINE((买卖差 > 0),0,买卖差,4,0),color0000FF;STICKLINE((买卖差 < 0),0,买卖差,2,0),LINETHICK3,color33FF33;量比1:=(VOL / MA(VOL,5));VAR10:=买盘;VAR20:=卖盘;JX1:=BARSSINCE(买盘);JY1:=IF(((121 > JX1) AND (JX1 > 0)),JX1,120);JY2:=IF(((4 > JX1) AND (JX1 > 0)),JX1,3);VAR30:=MA(VOL,JY2);动神:=买盘;鬼力:=VAR20;神比:=(动神 / VAR30);鬼比:=(鬼力 / VAR30);VAR2:=(HIGH - LOW);VAR3:=ABS((OPEN - CLOSE));VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);VAR6:=((VAR3 / VAR2) * VOL);VAR7:=((VAR4 / VAR2) * VOL);VAR8:=((VAR5 / VAR2) * VOL);VAR9:=IF(((VOL / CAPITAL) > 0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));VARA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100); VARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60))); VARC:=((MA(CLOSE,5) < MA(CLOSE,10)) AND (MA(CLOSE,10) < MA(CLOSE,30)));VARD:=REF(CLOSE,1);VARE:=((SMA(MAX((CLOSE - VARD),0),6,1) / SMA(ABS((CLOSE -VARD)),6,1)) * 100);VAR40:=((IF((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),VAR6,动神) + 动神) / 2);VAR41:=((IF(((VAR7 > VAR6) AND (VAR7 > VAR8)),VAR7,动神) + 动神) / 2);VAR42:=((IF(((VAR8 > VAR6) AND (VAR8 > VAR7)),VAR8,动神) + 动神) / 2);VAR50:=((IF((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),VAR6,鬼力) + 鬼力) / 2);三日上攻:=MA((((VAR40 + VAR41) + VAR42) / 3),JY2);三日下攻:=MA(VAR50,JY2);多头:STICKLINE((CLOSE > MA(CLOSE,30)),0,VOL,4,1),color0000FF; 空头:STICKLINE((CLOSE < MA(CLOSE,30)),0,VOL,4,1),color00FF00; STICKLINE((鬼力 > 0),鬼力,0,4,0),colorFF3399;加仓:STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),0,VAR6,4,0),color00FFFF;减仓:STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),0,VAR6,4,0),colorFF0000;洗盘:STICKLINE(((VAR8 > VAR6) AND (VAR8 >VAR7)),0,VAR8,4,0),colorFFFFFF;高卖:STICKLINE(((VAR7 > VAR6) AND (VAR7 >VAR8)),0,VAR7,4,0),colorFF00FF;相对地量:=STICKLINE(((VAR9 > 2) AND (VOL < (MA(VOL,5) / 2))),0,VOL,3,0);*/趋势射线3X:TRENDLINES(L=LLV(L,3),L,C=HHV(C,3),L),NODRAW;DRAWLINE1(L=LLV(L,3),L,C=HHV(C,3),L,0),COLOR9A90FF;趋势射线7: TRENDLINES(H=HHV(H,7),H,L=LLV(L,7),L),NODRAW;DRAWLINE1(H=HHV(H,7),H,L=LLV(L,7),L,0),COLOR9AFF89;射线7X: TRENDLINES(L=LLV(L,7),L,H=HHV(H,7),L),NODRAW;DRAWLINE1(L=LLV(L,7),L,H=HHV(H,7),L,0),COLOR9AFF89;趋势射线21: TRENDLINES(H=HHV(H,21),H,L=LLV(L,21),L),NODRAW;DRAWLINE1(H=HHV(H,21),H,L=LLV(L,21),L,0),COLORC100FF;射线21X: TRENDLINES(L=LLV(L,21),L,H=HHV(H,21),L),NODRAW;DRAWLINE1(L=LLV(L,21),L,H=HHV(H,21),L,0),COLORC100FF;趋势射线35: TRENDLINES(H=HHV(H,35),H,L=LLV(L,35),L),NODRAW;DRAWLINE1(H=HHV(H,35),H,L=LLV(L,35),L,0),COLORC1005B;射线35X: TRENDLINES(L=LLV(L,35),L,H=HHV(H,35),L),NODRAW;DRAWLINE1(L=LLV(L,35),L,H=HHV(H,35),L,0),COLORC1005B;趋势射线49: TRENDLINES(H=HHV(H,49),H,L=LLV(L,49),L),NODRAW;DRAWLINE1(H=HHV(H,49),H,L=LLV(L,49),L,0),COLORYELLOW;射线49X: TRENDLINES(L=LLV(L,49),L,H=HHV(H,49),L),NODRAW;DRAWLINE1(L=LLV(L,49),L,H=HHV(H,49),L,0),COLORYELLOW;。
文华财经期货软件指标公式源码至尊交易王指标公式源码
文华财经期货软件指标公式源码至尊交易王指标公式源码文华财经期货软件指标公式源码指标简介文华财经期货软件是一款专业的期货交易软件,拥有丰富的技术指标库,提供了许多强大的指标工具来辅助交易决策。
其中,至尊交易王指标是其核心指标之一,具备精准的预测能力和强大的信号过滤功能。
指标公式源码下面是至尊交易王指标的公式源码,供开发人员参考使用:至尊交易王指标公式源码def supreme_trader_king(close, high, low, period):"""至尊交易王指标公式计算函数参数:close: 收盘价序列high: 最高价序列low: 最低价序列period: 计算周期返回值:supreme_trader_king_values: 计算得到的至尊交易王指标数值序列"""初始化指标数值序列supreme_trader_king_values = []计算指标数值for i in range(len(close)):if i < period:supreme_trader_king_values.append(0)else:计算最高价与最低价的差值high_low_range = high[i] - low[i]计算收盘价与最低价的差值close_low_range = close[i] - low[i]计算指标数值supreme_trader_king_value = (close_low_range / high_low_range) * 100将计算得到的指标数值添加至序列中supreme_trader_king_values.append(supreme_trader_king_value) return supreme_trader_king_values使用示例以下是使用至尊交易王指标计算函数的示例代码:使用示例导入所需模块import numpy as np定义示例数据close_prices = np.array([10, 15, 12, 13, 15, 16, 14, 12, 11, 10])high_prices = np.array([20, 25, 22, 23, 25, 26, 24, 22, 21, 20])low_prices = np.array([5, 10, 8, 9, 10, 11, 9, 8, 7, 6])period = 5调用至尊交易王指标计算函数supreme_trader_king_values = supreme_trader_king(close_prices, high_prices, low_prices, period)打印计算结果print(supreme_trader_king_values)以上示例代码将输出至尊交易王指标计算得到的数值序列。
文华财经指标公式源码主力进出主力
文华财经指标公式源码主力进出主力主力进出主力是一个常用的技术指标,用于衡量市场的资金流向,特别是大资金的买卖动向。
下面是一个主力进出主力指标的源码示例:```//定义主力进出主力指标计算函数def main_force_in_out(main_force, main_force_in,main_force_out):if main_force > 0:main_force_in += main_forceelse:main_force_out += abs(main_force)return main_force_in, main_force_out//初始化主力进出主力变量main_force_in = 0main_force_out = 0//循环计算主力进出主力指标for i in range(len(data)):main_force = data['主力资金'].iloc[i] - data['超大资金'].iloc[i] # 假设主力资金和超大资金分别为两列数据main_force_in, main_force_out = main_force_in_out(main_force, main_force_in, main_force_out)//打印结果print("主力进:", main_force_in)print("主力出:", main_force_out)```上述代码演示了如何使用Python编程语言计算主力进出主力指标。
首先通过遍历每一个数据项,计算主力资金和超大资金的差值,然后根据差值的正负来确定是主力进还是主力出,并进行相应的累加操作。
最后打印出主力进和主力出的数值。
请注意,以上源码仅仅是一个示例,实际使用时可能需要根据具体的数据结构和算法逻辑进行调整和修改。
为了达到1200字的要求,还需要进一步补充说明此指标的定义、计算方法和使用场景。
文华财经期货软件指标公式源码成交量比
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5, 240,1)))));Q:MOD(TIME,100),NODRAW;FROMOPEN:=IF(HOUR<12,60*(HOUR-9)-30+Q,120+60*(HOUR-13)+Q)+1;MTIME:=MOD(FROMOPEN,TOTAL);CTIME:=IF(MTIME<0.5,TOTAL,MTIME);CURRBARSCOUNT:=DATACOUNT-BARPOS+1;VVOL:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,NULL),NODRAW;CAPITAL:=GETPRICE1('流通股本');//STICKLINE1(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),VVOL,0,-1,-1),COLOR00C0C0;成交量:VOL,POINTDOT,COLORYELLOW;AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主买:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+ (CLOSE-LOW)),VOL /2)),POINTDOT,COLORRED;主卖:=IF(CLOSE>OPEN,AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,AA* (HIGH-LOW),VOL /2)),COLORCYAN,POINTDOT;STICKLINE1(C>=REF(C,1) ,0,VOL,2.2,1),COLORRED;STICKLINE1(C<REF(C,1),0,VOL,2.2,1),COLORCYAN;STICKLINE1(主买>0,0,主买,2.2,0),COLORRED;资金异动:=VOL/MA(VOL,55)*100,COLORYELLOW;STICKLINE1(主卖>0,0,主卖,0.8,0),COLORCY AN;STICKLINE1(资金异动>100 ,0,VOL,0.1,0),COLORYELLOW;成交量比%:主买/VOL*100,COLORWHITE,NODRAW;换:VOL/CAPITAL*100,POINTDOT, COLORMAGENTA;五换:=SUM(换,5),COLORYELLOW;十换:=SUM(换,10),COLORGREEN;二十换:=SUM(换,20),COLORFFFFFF;三十换:=SUM(换,30),COLORYELLOW;A股:=CAPITAL/1000000,NODRAW,COLORWHITE;启:=MA(V,5),COLORMAGENTA,LINETHICK2;洗:=MA(V,35),COLORGREEN,LINETHICK2;异:=MA(V,135),COLORLIGHTBLUE,LINETHICK2;DRAWTEXT(CROSS(启,洗) AND V>洗AND V>异AND 洗<异,V,'★'),COLORMAGENTA; DRAWTEXT(CROSS(启,异) AND V>异AND V>异AND 洗<异,V,'★'),COLORYELLOW; TT:=240/FROMOPEN;比:=TT;J12:=(HIGH - ((HIGH - LOW) / 3));J23:=(LOW + ((HIGH - LOW) / 3));T1:=REFX1(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1)< REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0),10000);T2:=REFX1(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.03 AND REF(OPEN,1)> REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02 AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2)),1,0),10000);T3:=REFX1(IF((CLOSE=OPEN AND HIGH/LOW >1.03),1,0),10000);T4:=REFX1(IF((CLOSE=OPEN AND CLOSE=LOW AND CLOSE=HIGH),1,0),10000); T5:=REFX1(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1)< REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) ANDCLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0),10000);T6:=REFX1(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.05 AND REF(OPEN,1)> REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) ANDCLOSE/OPEN<0.95 AND CLOSE<REF(CLOSE,2)),1,0),10000);T7:=REFX1(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE > MA(CLOSE,5)),1,0),10000);T8:=REFX1(IF((MIN(OPEN,CLOSE)=LOW AND HIGH-LOW >3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE < MA(CLOSE,5)),1,0),10000);T9:=REFX1(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW >3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE < MA(CLOSE,5)),1,0),10000);T10:=REFX1(IF((HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW >3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE>MA(CLOSE,5)),1,0),10000);T11:=REFX1(IF(((REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.96AND CLOSE<REF(OPEN,1)AND OPEN>REF(CLOSE,1)) OR (REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.04AND CLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1))),1,0),10000);T12:=REFX1(IF((REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.97AND OPEN>REF(CLOSE,1) AND CLOSE<REF(CLOSE,1)),1,0),10000);T13:=REFX1(IF((REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.03AND OPEN<REF(CLOSE,1) AND CLOSE>REF(CLOSE,1)),1,0),10000);T14:=REFX1(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04AND ABS(CLOSE-OPEN)/CLOSE<0.005 ANDMAX(CLOSE,OPEN) < MAX(REF(CLOSE,1),REF(OPEN,1)) AND MIN(CLOSE,OPEN)> MIN(REF(CLOSE,1),REF(OPEN,1))),1,0),10000);T15:=REFX1(IF((ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04AND CLOSE=OPEN ANDCLOSE < MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE > MIN(REF(CLOSE,1),REF(OPEN,1))),1,0),10000);T16:=REFX1(IF((ABS(HIGH-REF(HIGH,1))/HIGH<0.001),1,0),10000);T17:=REFX1(IF(((ABS(LOW-REF(LOW,1))/LOW<0.001 AND ABS(REF(LOW,1)-REF(LOW,2))/REF(LOW,1)<=0.001)),1,0),10000);T18:=REFX1(IF((CLOSE/OPEN>1.05 AND HIGH/LOW < CLOSE/OPEN+0.018),1,0),10000);T19:=REFX1(IF((REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND CLOSE>OPENAND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1)),1,0),10000);T20:=REFX1(IF((REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPENAND CLOSE/OPEN<0.98),1,0),10000);T21:=REFX1(IF((REF(CLOSE,2)>REF(OPEN,2) AND (REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)>=2/100 AND REF(OPEN,1)>=REF(CLOSE,1)AND (REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<=2/100 AND REF(OPEN,1)<=REF(CLOSE,2) AND REF(CLOSE,1)>=REF(OPEN,2) AND C>=OPENAND (CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) AND OPEN<=REF(CLOSE,1)AND (MAX(CLOSE,REF(C,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2))<=1/100),1,0),10000);T22:=REFX1(IF((REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1)AND CLOSE>OPEN),1,0),10000);T23:=REFX1(IF(((OPEN<EMA(C,20) OR OPEN<EMA(C,40) OR OPEN<EMA(C,60)) AND (C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60)))) AND (V/MA(V,30)>1.2 AND C/REF(C,1)>1.049)),1,0),10000);T24:=REFX1(IF((REF(CLOSE,4)/REF(OPEN,4)>1.03 AND REF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1)AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2)AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN>1.03 AND CLOSE>REF(CLOSE,4)),1,0),10000);T25:=REFX1(IF(( REF(CLOSE,4)/REF(OPEN,4)<0.97 AND REF(CLOSE,3)>REF(OPEN,3) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1)AND REF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) AND REF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN<0.97 ANDCLOSE<REF(CLOSE,4)),1,0),10000);T26:=REFX1(IF(HIGH<REF(LOW,1) OR LOW>REF(HIGH,1),1,0),10000);T27:=REFX1(IF((REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND REF(CLOSE,1)<REF(CLOSE,2)AND CLOSE<REF(CLOSE,1)),1,0),10000);T28:=REFX1(IF((LOW=CLOSE AND HIGH=LOW),1,0),10000);T29:=REFX1(IF((HIGH=CLOSE AND HIGH=LOW),1,0),10000);T30:=REFX1(IF((OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1))<0),1,0),10000);T31:=REFX1(IF(((MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667),1,0),10000);T32:=REFX1(IF(((HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667),1,0),10000);T33:=REFX1(IF((CLOSE=OPEN AND HIGH=LOW),1,0),10000);T34:=REFX1(IF((OPEN/CLOSE > 1.05 AND HIGH/LOW < OPEN/CLOSE+0.018),1,0),10000);T35:=REFX1(IF(((REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPENAND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002) OR (REF(CLOSE,1)>REF(OPEN,1)AND CLOSE<OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002)),1,0),10000);T36:=REFX1(IF((REF(C,1)/REF(O,1)>=1.03 AND O<REF(C,1) AND O>REF(O,1) AND C<REF(O,1)),1,0),10000);T37:=REFX1(V*比>REF(V,1) AND MA(V,5)>REF(MA(V,5),1),10000);T38:=REFX1(V*比<REF(V,1) AND MA(V,5)>REF(MA(V,5),1),10000);T39:=REFX1(V*比>REF(V,1) AND MA(V,5)<REF(MA(V,5),1),10000);T40:=REFX1(V*比<REF(V,1) AND MA(V,5)<REF(MA(V,5),1),10000);T41:=REFX1((((IF((CLOSE = OPEN),1,0) + IF((CLOSE >= J12),1,0)) + IF((CLOSE <= J23),1,0)) > 1),10000);AMOUNT:=A VPRICE*V;T42:=REFX1((((AMOUNT / VOL) / 100) > REF(HIGH,1)),10000);T43:=REFX1((((AMOUNT / VOL) / 100) < REF(LOW,1)),10000);TS1:=IF(T1=1,0.02+0.02,0.02),NODRAW;TS2:=IF(T2=1,TS1+0.08,TS1),NODRAW;TS3:=IF(T3=1,TS2+0.08,TS2),NODRAW;TS4:=IF(T4=1,TS3+0.08,TS3);TS5:=IF(T5=1,TS4+0.08,TS4);TS6:=IF(T6=1,TS5+0.08,TS5);TS7:=IF(T7=1,TS6+0.08,TS6);TS8:=IF(T8=1,TS7+0.08,TS7);TS9:=IF(T9=1,TS8+0.08,TS8);TS10:=IF(T10=1,TS9+0.08,TS9),NODRAW;TS11:=IF(T11=1,TS10+0.08,TS10);TS12:=IF(T12=1,TS11+0.08,TS11);TS13:=IF(T13=1,TS12+0.08,TS12);TS14:=IF(T14=1,TS13+0.08,TS13);TS15:=IF(T15=1,TS14+0.08,TS14); TS16:=IF(T16=1,TS15+0.08,TS15); TS17:=IF(T17=1,TS16+0.08,TS16); TS18:=IF(T18=1,TS17+0.08,TS17); TS19:=IF(T19=1,TS18+0.08,TS18); TS20:=IF(T20=1,TS19+0.08,TS19); TS21:=IF(T21=1,TS20+0.08,TS20); TS22:=IF(T22=1,TS21+0.08,TS21); TS23:=IF(T23=1,TS22+0.08,TS22); TS24:=IF(T24=1,TS23+0.08,TS23); TS25:=IF(T25=1,TS24+0.08,TS24); TS26:=IF(T26=1,TS25+0.08,TS25); TS27:=IF(T27=1,TS26+0.08,TS26); TS28:=IF(T28=1,TS27+0.08,TS27); TS29:=IF(T29=1,TS28+0.08,TS28); TS30:=IF(T30=1,TS29+0.08,TS29); TS31:=IF(T31=1,TS30+0.08,TS30); TS32:=IF(T32=1,TS31+0.08,TS31); TS33:=IF(T33=1,TS32+0.08,TS32); TS34:=IF(T34=1,TS33+0.08,TS33); TS35:=IF(T35=1,TS34+0.08,TS34); TS36:=IF(T36=1,TS35+0.08,TS35);TS37:=IF(T37=1,TS36+0.08,TS36); TS38:=IF(T38=1,TS37+0.08,TS37); TS39:=IF(T39=1,TS38+0.08,TS38); TS40:=IF(T40=1,TS39+0.08,TS39); TS41:=IF(T41=1,TS36+0.08,TS36); TS42:=IF(T42=1,TS41+0.08,TS41); TS43:=IF(T43=1,TS42+0.08,TS42);。
文华财经公式破解了10000元的文华金蛇成交量指标源码
文华财经公式破解了10000元的文华金蛇成交量指标源码以下是文华财经公式破解了10000元的文华金蛇成交量指标源码(无源码的请下载附件导入)文华金蛇成交量指标源码:选股源码:VAR0:=HOUR;VAR1:=VOL;VAR2:=VAR1/CAPITAL;VAR3:=BIGORDER(1,2) + BIGORDER(2,2);VAR4:=BIGORDER(1,2) - BIGORDER(2,2);VAR5:=VAR2 * VAR3 * 100;VAR6:=VAR2 * VAR4 * 100;IF VAR0 > 0 THEN BEGINVOLUME:VAR1,VOLSTICK;ENDELSE BEGINVAR7:=CAPITAL * VAR5/1000;VAR8:=CAPITAL * VAR6/100;VAR9:=CLOSE - REF(CLOSE,1);LOOP1:=VAR9 >= 0;LOOP2:=VAR7 * 3;STICKLINE(LOOP1,LOOP2,VAR1,7.6,3);LOOP3:=VAR9 < 0;STICKLINE(LOOP3,LOOP2,VAR1,7.6,3);VAR10:=VAR1/MA(VAR1,55) * 100;ENDSTICKLINE(LOOP1,LOOP2,VAR1,7.6,3),COLORRED;STICKLINE(LOOP3,LOOP2,VAR1,7.6,3),COLORGREEN;STICKLINE(VAR8 < 0,VAR1 - VAR8,VAR1 + VAR8 * 5,8.5,0),COLOR777777;STICKLINE(VAR8 < 0,VAR1 - VAR8,VAR1 + VAR8 * 5,8,0),COLOR111111;STICKLINE(VAR8 < 0,VAR1 - VAR8,VAR1 + VAR8 * 5,7,0),COLOR333333;STICKLINE(VAR8 < 0,VAR1 - VAR8,VAR1 + VAR8 * 5,6,0),COLOR555555;STICKLINE(VAR8 < 0,VAR1 - VAR8,VAR1 + VAR8 * 5,5,0),COLOR777777;STICKLINE(VAR8 < 0,VAR1 - VAR8,VAR1 + VAR8 * 5,4,0),COLOR999999;STICKLINE(VAR8 < 0,VAR1 - VAR8,VAR1 + VAR8 * 5,3,0),COLORBBBBBB;STICKLINE(VAR8 < 0,VAR1 - VAR8,VAR1 + VAR8 * 5,2,0),COLORDDDDDD;STICKLINE(VAR8 < 0,VAR1 - VAR8,VAR1 + VAR8 * 5,1,0),COLORWHITE;STICKLINE(VAR10 > 100,0,VAR1,5,0),COLOR000011;STICKLINE(VAR10 > 100,0,VAR1,4,0),COLOR000033;STICKLINE(VAR10 > 100,0,VAR1,3,0),COLOR000055;STICKLINE(VAR10 > 100,0,VAR1,2,0),COLOR000077;STICKLINE(VAR10 > 100,0,VAR1,1,0),COLOR000099;STICKLINE(VAR8 >= 0,VAR1 - VAR8,VAR1 + VAR8 * 5,7.5,0),COLOR005555;STICKLINE(VAR8 >= 0,VAR1 - VAR8,VAR1 + VAR8 * 5,6,0),COLOR006666;STICKLINE(VAR8 >= 0,VAR1 - VAR8,VAR1 + VAR8 * 5,5,0),COLOR007777;STICKLINE(VAR8 >= 0,VAR1 - VAR8,VAR1 + VAR8 * 5,4,0),COLOR009999;STICKLINE(VAR8 >= 0,VAR1 - VAR8,VAR1 + VAR8 *5,3,0),COLOR00BBBB;STICKLINE(VAR8 >= 0,VAR1 - VAR8,VAR1 + VAR8 * 5,2,0),COLOR00DDDD;STICKLINE(VAR8 >= 0,VAR1 - VAR8,VAR1 + VAR8 * 5,1,0),COLORYELLOW;STICKLINE(VAR9 >= 0,0,VAR7 * 3,7.5,0),COLOR0000AA;STICKLINE(VAR9 >= 0,0,VAR7 * 3,7,0),COLOR0000AA;STICKLINE(VAR9 >= 0,0,VAR7 * 3,6,0),COLOR0000BB;STICKLINE(VAR9 >= 0,0,VAR7 * 3,5,0),COLOR0000CC;STICKLINE(VAR9 >= 0,0,VAR7 * 3,4,0),COLOR0000DD;STICKLINE(VAR9 >= 0,0,VAR7 * 3,3,0),COLOR0000EE;STICKLINE(VAR9 >= 0,0,VAR7 * 3,2,0),COLORRED;STICKLINE(VAR9 >= 0,0,VAR7 * 3,1,0),COLORRED;STICKLINE(VAR9 >= 0,0,VAR7 * 3,0,0),COLORRED;STICKLINE(VAR9 < 0,0,VAR7 * 3,8.5,0),COLOR777777;STICKLINE(VAR9 < 0,0,VAR7 * 3,8,0),COLOR001100;STICKLINE(VAR9 < 0,0,VAR7 * 3,7,0),COLOR003300;STICKLINE(VAR9 < 0,0,VAR7 * 3,6,0),COLOR005500;STICKLINE(VAR9 < 0,0,VAR7 * 3,5,0),COLOR007700;STICKLINE(VAR9 < 0,0,VAR7 * 3,4,0),COLOR009900;STICKLINE(VAR9 < 0,0,VAR7 * 3,3,0),COLOR00BB00;STICKLINE(VAR9 < 0,0,VAR7 * 3,2,0),COLOR00DD00;STICKLINE(VAR9 < 0,0,VAR7 * 3,1,0),COLORGREEN;价位轴:0,LINETHICK2,COLORBLUE;:C,NODRAW;DRAWTEXTABS(5,10,【★金色=主力增仓比例★银色=主力减仓比例★底部实体=对敲比例★中心轴=资金异动】),COLORYELLOW;点击复制上述代码粘贴到到公式管理器==============================源码解析:VAR0赋值:小时VAR1赋值:成交量(手)VAR2赋值:VAR1/当前流通股本(手)VAR3赋值:BIGORDER(1,2) + BIGORDER(2,2)VAR4赋值:BIGORDER(1,2) - BIGORDER(2,2)VAR5赋值:VAR2 * VAR3 * 100VAR6赋值:VAR2 * VAR4 * 100输出逻辑判断VAR0 > 0 THEN BEGINVOLUME:VAR1,VOLSTICKBEGINVAR7赋值:当前流通股本(手) * VAR5/1000VAR8赋值:当前流通股本(手) * VAR6/100VAR9赋值:收盘价 - 昨收LOOP1赋值:VAR9 >= 0LOOP2赋值:VAR7 * 3当满足条件LOOP1时,在LOOP2和VAR1位置之间画柱状线,宽度为7.6,3不为0则画空心柱.LOOP3赋值:VAR9 < 0当满足条件LOOP3时,在LOOP2和VAR1位置之间画柱状线,宽度为7.6,3不为0则画空心柱.VAR10赋值:VAR1/VAR1的55日简单移动平均 * 100ENDSTICKLINE(LOOP1,LOOP2,VAR1,7.6,3),画红色当满足条件LOOP3时,在LOOP2和VAR1位置之间画柱状线,宽度为7.6,3不为0则画空心柱.,画绿色当满足条件VAR8<0时,在VAR1-VAR8和VAR1+VAR8*5位置之间画柱状线,宽度为8.5,0不为0则画空心柱.,COLOR777777 当满足条件VAR8<0时,在VAR1-VAR8和VAR1+VAR8*5位置之间画柱状线,宽度为8,0不为0则画空心柱.,COLOR111111间画柱状线,宽度为7,0不为0则画空心柱.,COLOR333333 当满足条件VAR8<0时,在VAR1-VAR8和VAR1+VAR8*5位置之间画柱状线,宽度为6,0不为0则画空心柱.,COLOR555555 当满足条件VAR8<0时,在VAR1-VAR8和VAR1+VAR8*5位置之间画柱状线,宽度为5,0不为0则画空心柱.,COLOR777777 当满足条件VAR8<0时,在VAR1-VAR8和VAR1+VAR8*5位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR999999 当满足条件VAR8<0时,在VAR1-VAR8和VAR1+VAR8*5位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLORBBBBBB 当满足条件VAR8<0时,在VAR1-VAR8和VAR1+VAR8*5位置之间画柱状线,宽度为2,0不为0则画空心柱.,COLORDDDDDD 当满足条件VAR8<0时,在VAR1-VAR8和VAR1+VAR8*5位置之间画柱状线,宽度为1,0不为0则画空心柱.,画白色当满足条件VAR10>100时,在0和VAR1位置之间画柱状线,宽度为5,0不为0则画空心柱.,COLOR000011当满足条件VAR10>100时,在0和VAR1位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR000033当满足条件VAR10>100时,在0和VAR1位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLOR000055当满足条件VAR10>100时,在0和VAR1位置之间画柱状线,宽度为2,0不为0则画空心柱.,COLOR000077当满足条件VAR10>100时,在0和VAR1位置之间画柱状线,宽度为1,0不为0则画空心柱.,COLOR000099当满足条件VAR8>=0时,在VAR1-VAR8和VAR1+VAR8*5位置之间画柱状线,宽度为7.5,0不为0则画空心柱.,COLOR005555 当满足条件VAR8>=0时,在VAR1-VAR8和VAR1+VAR8*5位置之间画柱状线,宽度为6,0不为0则画空心柱.,COLOR006666 当满足条件VAR8>=0时,在VAR1-VAR8和VAR1+VAR8*5位置之间画柱状线,宽度为5,0不为0则画空心柱.,COLOR007777之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR009999 当满足条件VAR8>=0时,在VAR1-VAR8和VAR1+VAR8*5位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLOR00BBBB 当满足条件VAR8>=0时,在VAR1-VAR8和VAR1+VAR8*5位置之间画柱状线,宽度为2,0不为0则画空心柱.,COLOR00DDDD 当满足条件VAR8>=0时,在VAR1-VAR8和VAR1+VAR8*5位置之间画柱状线,宽度为1,0不为0则画空心柱.,画黄色当满足条件VAR9>=0时,在0和VAR7*3位置之间画柱状线,宽度为7.5,0不为0则画空心柱.,COLOR0000AA当满足条件VAR9>=0时,在0和VAR7*3位置之间画柱状线,宽度为7,0不为0则画空心柱.,COLOR0000AA当满足条件VAR9>=0时,在0和VAR7*3位置之间画柱状线,宽度为6,0不为0则画空心柱.,COLOR0000BB当满足条件VAR9>=0时,在0和VAR7*3位置之间画柱状线,宽度为5,0不为0则画空心柱.,COLOR0000CC当满足条件VAR9>=0时,在0和VAR7*3位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR0000DD当满足条件VAR9>=0时,在0和VAR7*3位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLOR0000EE当满足条件VAR9>=0时,在0和VAR7*3位置之间画柱状线,宽度为2,0不为0则画空心柱.,画红色当满足条件VAR9>=0时,在0和VAR7*3位置之间画柱状线,宽度为1,0不为0则画空心柱.,画红色当满足条件VAR9>=0时,在0和VAR7*3位置之间画柱状线,宽度为0,0不为0则画空心柱.,画红色当满足条件VAR9<0时,在0和VAR7*3位置之间画柱状线,宽度为8.5,0不为0则画空心柱.,COLOR777777当满足条件VAR9<0时,在0和VAR7*3位置之间画柱状线,宽度为8,0不为0则画空心柱.,COLOR001100当满足条件VAR9<0时,在0和VAR7*3位置之间画柱状线,宽度为7,0不为0则画空心柱.,COLOR003300当满足条件VAR9<0时,在0和VAR7*3位置之间画柱状线,宽度为6,0不为0则画空心柱.,COLOR005500当满足条件VAR9<0时,在0和VAR7*3位置之间画柱状线,宽度为5,0不为0则画空心柱.,COLOR007700当满足条件VAR9<0时,在0和VAR7*3位置之间画柱状线,宽度为4,0不为0则画空心柱.,COLOR009900当满足条件VAR9<0时,在0和VAR7*3位置之间画柱状线,宽度为3,0不为0则画空心柱.,COLOR00BB00当满足条件VAR9<0时,在0和VAR7*3位置之间画柱状线,宽度为2,0不为0则画空心柱.,COLOR00DD00当满足条件VAR9<0时,在0和VAR7*3位置之间画柱状线,宽度为1,0不为0则画空心柱.,画绿色输出价位轴:0,线宽为2,画蓝色DRAWTEXTABS(5,10,【★金色=主力增仓比例★银色=主力减仓比例★底部实体=对敲比例★中心轴=资金异动】),画黄色。