首页 > 原创>正文

交叉必涨指标公式源码(zlmm参数的最佳设置?)

中亿财经网 gengxing 2023-08-19 20:19:07

1. zlmm参数的最佳设置?

zlmm指标即主力买卖:7EX中亿财经网财经门户

LC :=REF(CLOSE,1);7EX中亿财经网财经门户

RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;7EX中亿财经网财经门户

RSI3:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100;7EX中亿财经网财经门户

MMS:MA(3*RSI2-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3);7EX中亿财经网财经门户

MMM:EMA(MMS,8);7EX中亿财经网财经门户

MML:MA(3*RSI3-2*SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,5);7EX中亿财经网财经门户

白线为短期趋势线,黄线为中期趋势线,紫线为长期趋势线。7EX中亿财经网财经门户

1、主力买卖与主力进出配合使用时准确率极高。7EX中亿财经网财经门户

2、当底部构成发出信号,且主力进出线向上时判断买点,准确率极高。7EX中亿财经网财经门户

3、当短线上穿中线及长线时,形成最佳短线买点交叉形态(如底部构成已发出信号或主力进出线也向上且短线乖离率不大时)。7EX中亿财经网财经门户

4、当短线、中线均上穿长线,形成中线最佳买点形态(如底部构成已发出信号或主力进出线也向上且三线均向上时)。7EX中亿财经网财经门户

5、当短线下穿中线,且短线与长线正乖离率太大时,形成短线最佳卖点交叉形态。7EX中亿财经网财经门户

6、当短线、中线下穿长线,且是主力进出已走平或下降时,形成中线最佳卖点交叉形态。7EX中亿财经网财经门户

7、在上升途中,短、中线回落受长线支撑再度上行之时,为较佳的买入时机。7EX中亿财经网财经门户

8、指标在0以上表明个股处于强势,指标跌穿0线表明该股步入弱势。7EX中亿财经网财经门户

zljc指标即主力进出7EX中亿财经网财经门户

VAR1:=(CLOSE+LOW+HIGH)/3;7EX中亿财经网财经门户

VAR2:=SUM(((VAR1-REF(LOW,1))-(HIGH-VAR1))*VOL/100000/(HIGH-LOW),0);7EX中亿财经网财经门户

VAR3:=EMA(VAR2,1);7EX中亿财经网财经门户

JCS:VAR3;7EX中亿财经网财经门户

JCM:MA(VAR3,12);7EX中亿财经网财经门户

JCL:MA(VAR3,26);7EX中亿财经网财经门户

白线为短期主力运作轨迹,黄线为中期主力运作轨迹,紫线为长期主力运作轨迹。7EX中亿财经网财经门户

1、主力进出指标的白线向上突破黄线、紫线且三线向上发散,表示主力有效控盘,可逢底介入,持股待涨。7EX中亿财经网财经门户

2、主力进出指标的白线上涨过快远离黄、紫线,出现较大乖离,表示短线获利筹码较多,宜注意控制风险,可适当卖出。7EX中亿财经网财经门户

3、当白线回落至黄、紫线处受支撑时,而黄紫线发散向上,表7EX中亿财经网财经门户

2. kdj指标公式源码?

KDJ指标公式源码:7EX中亿财经网财经门户

参数:N:=9; M1:=3; M2:=3;7EX中亿财经网财经门户

RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;7EX中亿财经网财经门户

K:SMA(RSV,M1,1);7EX中亿财经网财经门户

D:SMA(K,M2,1);7EX中亿财经网财经门户

J:3*K-2*D;7EX中亿财经网财经门户

周K:=MA("KDJ.K#WEEK"(N,M1,M2) ,5),LINETHICK1,COLORRED;7EX中亿财经网财经门户

周D:=MA("KDJ.D#WEEK"(N,M1,M2) ,5),LINETHICK1,COLOR33FF99;7EX中亿财经网财经门户

周J:=MA("KDJ.J#WEEK"(N,M1,M2) ,5),LINETHICK1,COLORMAGENTA;7EX中亿财经网财经门户

月K:MA("KDJ.K#MONTH"(N,M1,M2),5),LINETHICK1,COLORFF00FF;7EX中亿财经网财经门户

月D:MA("KDJ.D#MONTH"(N,M1,M2),5),LINETHICK1,COLOR00FF00;7EX中亿财经网财经门户

月J:=MA("KDJ.J#MONTH"(N,M1,M2),5),LINETHICK1,COLORFFFFFF;7EX中亿财经网财经门户

DRAWBAND(月K,RGB(100,0,100),月D,RGB(120,120,120));7EX中亿财经网财经门户

STICKLINE(周K>=周D,周K,周D,1,0),COLOR6666FF;7EX中亿财经网财经门户

STICKLINE(周K<周D,周K,周D,1,1),COLOR00FFFF;7EX中亿财经网财经门户

STICKLINE(C>0,115,120,2,1),COLOR00FFFF;7EX中亿财经网财经门户

STICKLINE(C>0,-15,-20,2,1),COLORFFFF88;7EX中亿财经网财经门户

STICKLINE(周K>=周D,110,120,2,0),COLOR6666FF;7EX中亿财经网财经门户

STICKLINE(月K>=月D,-10,-20,2,0),COLOR660099;7EX中亿财经网财经门户

STICKLINE(C>0,48,52,2,1),COLORFFFFFF;7EX中亿财经网财经门户

STICKLINE(周K>=周D AND 月K>=月D,42,58,2,1),COLORRED;7EX中亿财经网财经门户

STICKLINE(月K<月D AND 周K>=周D,44,56,2,1),COLORFF00FF;7EX中亿财经网财经门户

STICKLINE(月K>=月D AND 周K<周D,46,54,2,1),COLOR00FF00;7EX中亿财经网财经门户

STICKLINE(CURRBARSCOUNT=88,10,90,99,0),COLOR222255;7EX中亿财经网财经门户

STICKLINE(CURRBARSCOUNT=88,100,90,99,0),COLORYELLOW;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=92,95,'中间彩柱'),COLORFF0000;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=8,110,'周KD金叉'),COLORFFFFFF;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=8,-10,'月KD交叉'),COLORFFFFFF;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=98,20,'月死叉周死叉--全退--白色'),COLORFFFFFF;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=98,40,'月金叉周死叉--减仓--绿色'),COLOR00FF00;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=98,60,'月死叉周金叉--反弹--粉色'),COLORFF00FF;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=98,80,'月金叉周金叉--持股--红色'),COLORRED;7EX中亿财经网财经门户

3. kdj指标公式源码?

KDJ指标公式源码:7EX中亿财经网财经门户

参数:N:=9; M1:=3; M2:=3;7EX中亿财经网财经门户

RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;7EX中亿财经网财经门户

K:SMA(RSV,M1,1);7EX中亿财经网财经门户

D:SMA(K,M2,1);7EX中亿财经网财经门户

J:3*K-2*D;7EX中亿财经网财经门户

周K:=MA("KDJ.K#WEEK"(N,M1,M2) ,5),LINETHICK1,COLORRED;7EX中亿财经网财经门户

周D:=MA("KDJ.D#WEEK"(N,M1,M2) ,5),LINETHICK1,COLOR33FF99;7EX中亿财经网财经门户

周J:=MA("KDJ.J#WEEK"(N,M1,M2) ,5),LINETHICK1,COLORMAGENTA;7EX中亿财经网财经门户

月K:MA("KDJ.K#MONTH"(N,M1,M2),5),LINETHICK1,COLORFF00FF;7EX中亿财经网财经门户

月D:MA("KDJ.D#MONTH"(N,M1,M2),5),LINETHICK1,COLOR00FF00;7EX中亿财经网财经门户

月J:=MA("KDJ.J#MONTH"(N,M1,M2),5),LINETHICK1,COLORFFFFFF;7EX中亿财经网财经门户

DRAWBAND(月K,RGB(100,0,100),月D,RGB(120,120,120));7EX中亿财经网财经门户

STICKLINE(周K>=周D,周K,周D,1,0),COLOR6666FF;7EX中亿财经网财经门户

STICKLINE(周K<周D,周K,周D,1,1),COLOR00FFFF;7EX中亿财经网财经门户

STICKLINE(C>0,115,120,2,1),COLOR00FFFF;7EX中亿财经网财经门户

STICKLINE(C>0,-15,-20,2,1),COLORFFFF88;7EX中亿财经网财经门户

STICKLINE(周K>=周D,110,120,2,0),COLOR6666FF;7EX中亿财经网财经门户

STICKLINE(月K>=月D,-10,-20,2,0),COLOR660099;7EX中亿财经网财经门户

STICKLINE(C>0,48,52,2,1),COLORFFFFFF;7EX中亿财经网财经门户

STICKLINE(周K>=周D AND 月K>=月D,42,58,2,1),COLORRED;7EX中亿财经网财经门户

STICKLINE(月K<月D AND 周K>=周D,44,56,2,1),COLORFF00FF;7EX中亿财经网财经门户

STICKLINE(月K>=月D AND 周K<周D,46,54,2,1),COLOR00FF00;7EX中亿财经网财经门户

STICKLINE(CURRBARSCOUNT=88,10,90,99,0),COLOR222255;7EX中亿财经网财经门户

STICKLINE(CURRBARSCOUNT=88,100,90,99,0),COLORYELLOW;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=92,95,'中间彩柱'),COLORFF0000;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=8,110,'周KD金叉'),COLORFFFFFF;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=8,-10,'月KD交叉'),COLORFFFFFF;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=98,20,'月死叉周死叉--全退--白色'),COLORFFFFFF;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=98,40,'月金叉周死叉--减仓--绿色'),COLOR00FF00;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=98,60,'月死叉周金叉--反弹--粉色'),COLORFF00FF;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=98,80,'月金叉周金叉--持股--红色'),COLORRED;7EX中亿财经网财经门户

4. zlmm参数的最佳设置?

zlmm指标即主力买卖:7EX中亿财经网财经门户

LC :=REF(CLOSE,1);7EX中亿财经网财经门户

RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;7EX中亿财经网财经门户

RSI3:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100;7EX中亿财经网财经门户

MMS:MA(3*RSI2-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3);7EX中亿财经网财经门户

MMM:EMA(MMS,8);7EX中亿财经网财经门户

MML:MA(3*RSI3-2*SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,5);7EX中亿财经网财经门户

白线为短期趋势线,黄线为中期趋势线,紫线为长期趋势线。7EX中亿财经网财经门户

1、主力买卖与主力进出配合使用时准确率极高。7EX中亿财经网财经门户

2、当底部构成发出信号,且主力进出线向上时判断买点,准确率极高。7EX中亿财经网财经门户

3、当短线上穿中线及长线时,形成最佳短线买点交叉形态(如底部构成已发出信号或主力进出线也向上且短线乖离率不大时)。7EX中亿财经网财经门户

4、当短线、中线均上穿长线,形成中线最佳买点形态(如底部构成已发出信号或主力进出线也向上且三线均向上时)。7EX中亿财经网财经门户

5、当短线下穿中线,且短线与长线正乖离率太大时,形成短线最佳卖点交叉形态。7EX中亿财经网财经门户

6、当短线、中线下穿长线,且是主力进出已走平或下降时,形成中线最佳卖点交叉形态。7EX中亿财经网财经门户

7、在上升途中,短、中线回落受长线支撑再度上行之时,为较佳的买入时机。7EX中亿财经网财经门户

8、指标在0以上表明个股处于强势,指标跌穿0线表明该股步入弱势。7EX中亿财经网财经门户

zljc指标即主力进出7EX中亿财经网财经门户

VAR1:=(CLOSE+LOW+HIGH)/3;7EX中亿财经网财经门户

VAR2:=SUM(((VAR1-REF(LOW,1))-(HIGH-VAR1))*VOL/100000/(HIGH-LOW),0);7EX中亿财经网财经门户

VAR3:=EMA(VAR2,1);7EX中亿财经网财经门户

JCS:VAR3;7EX中亿财经网财经门户

JCM:MA(VAR3,12);7EX中亿财经网财经门户

JCL:MA(VAR3,26);7EX中亿财经网财经门户

白线为短期主力运作轨迹,黄线为中期主力运作轨迹,紫线为长期主力运作轨迹。7EX中亿财经网财经门户

1、主力进出指标的白线向上突破黄线、紫线且三线向上发散,表示主力有效控盘,可逢底介入,持股待涨。7EX中亿财经网财经门户

2、主力进出指标的白线上涨过快远离黄、紫线,出现较大乖离,表示短线获利筹码较多,宜注意控制风险,可适当卖出。7EX中亿财经网财经门户

3、当白线回落至黄、紫线处受支撑时,而黄紫线发散向上,表7EX中亿财经网财经门户

5. kdj指标公式源码?

KDJ指标公式源码:7EX中亿财经网财经门户

参数:N:=9; M1:=3; M2:=3;7EX中亿财经网财经门户

RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;7EX中亿财经网财经门户

K:SMA(RSV,M1,1);7EX中亿财经网财经门户

D:SMA(K,M2,1);7EX中亿财经网财经门户

J:3*K-2*D;7EX中亿财经网财经门户

周K:=MA("KDJ.K#WEEK"(N,M1,M2) ,5),LINETHICK1,COLORRED;7EX中亿财经网财经门户

周D:=MA("KDJ.D#WEEK"(N,M1,M2) ,5),LINETHICK1,COLOR33FF99;7EX中亿财经网财经门户

周J:=MA("KDJ.J#WEEK"(N,M1,M2) ,5),LINETHICK1,COLORMAGENTA;7EX中亿财经网财经门户

月K:MA("KDJ.K#MONTH"(N,M1,M2),5),LINETHICK1,COLORFF00FF;7EX中亿财经网财经门户

月D:MA("KDJ.D#MONTH"(N,M1,M2),5),LINETHICK1,COLOR00FF00;7EX中亿财经网财经门户

月J:=MA("KDJ.J#MONTH"(N,M1,M2),5),LINETHICK1,COLORFFFFFF;7EX中亿财经网财经门户

DRAWBAND(月K,RGB(100,0,100),月D,RGB(120,120,120));7EX中亿财经网财经门户

STICKLINE(周K>=周D,周K,周D,1,0),COLOR6666FF;7EX中亿财经网财经门户

STICKLINE(周K<周D,周K,周D,1,1),COLOR00FFFF;7EX中亿财经网财经门户

STICKLINE(C>0,115,120,2,1),COLOR00FFFF;7EX中亿财经网财经门户

STICKLINE(C>0,-15,-20,2,1),COLORFFFF88;7EX中亿财经网财经门户

STICKLINE(周K>=周D,110,120,2,0),COLOR6666FF;7EX中亿财经网财经门户

STICKLINE(月K>=月D,-10,-20,2,0),COLOR660099;7EX中亿财经网财经门户

STICKLINE(C>0,48,52,2,1),COLORFFFFFF;7EX中亿财经网财经门户

STICKLINE(周K>=周D AND 月K>=月D,42,58,2,1),COLORRED;7EX中亿财经网财经门户

STICKLINE(月K<月D AND 周K>=周D,44,56,2,1),COLORFF00FF;7EX中亿财经网财经门户

STICKLINE(月K>=月D AND 周K<周D,46,54,2,1),COLOR00FF00;7EX中亿财经网财经门户

STICKLINE(CURRBARSCOUNT=88,10,90,99,0),COLOR222255;7EX中亿财经网财经门户

STICKLINE(CURRBARSCOUNT=88,100,90,99,0),COLORYELLOW;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=92,95,'中间彩柱'),COLORFF0000;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=8,110,'周KD金叉'),COLORFFFFFF;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=8,-10,'月KD交叉'),COLORFFFFFF;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=98,20,'月死叉周死叉--全退--白色'),COLORFFFFFF;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=98,40,'月金叉周死叉--减仓--绿色'),COLOR00FF00;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=98,60,'月死叉周金叉--反弹--粉色'),COLORFF00FF;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=98,80,'月金叉周金叉--持股--红色'),COLORRED;7EX中亿财经网财经门户

6. 分时源码怎么通达信?

均价:SUM(V*C,0)/SUM(V,0),COLORGREEN,LINETHICK2;7EX中亿财经网财经门户

IF(均价7EX中亿财经网财经门户

IF(均价>=REF(均价,1),均价,DRAWNULL),COLORYELLOW,LINETHICK3;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=4,均价,'均'),COLORYELLOW,LINETHICK3;7EX中亿财经网财经门户

DRAWNUMBER(CURRBARSCOUNT=2,均价,均价),COLORYELLOW,LINETHICK3;7EX中亿财经网财经门户

扩展资料:7EX中亿财经网财经门户

分时均线的原理:7EX中亿财经网财经门户

与K线图上以每天收盘价作为统计依据的均线不同,均价是以盘口总成交额除以盘口总成交量的运算方式测算当前每一股的平均成交价,十分精确地统计出当前所有参与者的综合持仓成本。因此,有了这条均价线,我们就可以在盘面做一些简单的推理:7EX中亿财经网财经门户

1.当股价持续在均价线上方运行时,表明市场预期较好,买盘踊跃,当天介入的大部分投资者都能赚钱,这是盘口强势特征;7EX中亿财经网财经门户

2.当股价持续在均价线下方运行时,表明市场预期较差,卖盘踊跃,当天介入的大部分投资者都亏钱,属弱势特征;7EX中亿财经网财经门户

3.当均价线从低位持续上扬时,表明市场预期提高,投资者纷纷入场推进股价上涨,综合持仓成本不断抬高,对股价形成支撑;7EX中亿财经网财经门户

4.当均价线从高位持续下挫时,表明市场预期较差,投资者纷纷离场迫使股价下跌,综合持仓成本不断下降,对股价形成压制。7EX中亿财经网财经门户

一般来说,昨天收盘价是今天盘口多空力量的分水岭,如果开盘后半小时内均价线在昨天收盘价上方持续上扬,那么,该股属极强势且当天收出中长阳的概率较大;开盘后半小时内均价线在昨天收盘价下方持续创新低,该股属极弱势且当天收出中长阴的概率较大。7EX中亿财经网财经门户

均价线是超级短线实战的一个重要研判工具,它与分时走势交叉错落,如影随形,临盘运用因人而异,特别当一轮极端炒作的主升浪行将结束之时,盘口拉高的股价突然一改强势上攻个性,击穿均价线后大幅回落,此后如果均价线失而复得,得而复失,则是超短线出局信号。7EX中亿财经网财经门户

参考资料: 7EX中亿财经网财经门户

7. zlmm参数的最佳设置?

zlmm指标即主力买卖:7EX中亿财经网财经门户

LC :=REF(CLOSE,1);7EX中亿财经网财经门户

RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;7EX中亿财经网财经门户

RSI3:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100;7EX中亿财经网财经门户

MMS:MA(3*RSI2-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3);7EX中亿财经网财经门户

MMM:EMA(MMS,8);7EX中亿财经网财经门户

MML:MA(3*RSI3-2*SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,5);7EX中亿财经网财经门户

白线为短期趋势线,黄线为中期趋势线,紫线为长期趋势线。7EX中亿财经网财经门户

1、主力买卖与主力进出配合使用时准确率极高。7EX中亿财经网财经门户

2、当底部构成发出信号,且主力进出线向上时判断买点,准确率极高。7EX中亿财经网财经门户

3、当短线上穿中线及长线时,形成最佳短线买点交叉形态(如底部构成已发出信号或主力进出线也向上且短线乖离率不大时)。7EX中亿财经网财经门户

4、当短线、中线均上穿长线,形成中线最佳买点形态(如底部构成已发出信号或主力进出线也向上且三线均向上时)。7EX中亿财经网财经门户

5、当短线下穿中线,且短线与长线正乖离率太大时,形成短线最佳卖点交叉形态。7EX中亿财经网财经门户

6、当短线、中线下穿长线,且是主力进出已走平或下降时,形成中线最佳卖点交叉形态。7EX中亿财经网财经门户

7、在上升途中,短、中线回落受长线支撑再度上行之时,为较佳的买入时机。7EX中亿财经网财经门户

8、指标在0以上表明个股处于强势,指标跌穿0线表明该股步入弱势。7EX中亿财经网财经门户

zljc指标即主力进出7EX中亿财经网财经门户

VAR1:=(CLOSE+LOW+HIGH)/3;7EX中亿财经网财经门户

VAR2:=SUM(((VAR1-REF(LOW,1))-(HIGH-VAR1))*VOL/100000/(HIGH-LOW),0);7EX中亿财经网财经门户

VAR3:=EMA(VAR2,1);7EX中亿财经网财经门户

JCS:VAR3;7EX中亿财经网财经门户

JCM:MA(VAR3,12);7EX中亿财经网财经门户

JCL:MA(VAR3,26);7EX中亿财经网财经门户

白线为短期主力运作轨迹,黄线为中期主力运作轨迹,紫线为长期主力运作轨迹。7EX中亿财经网财经门户

1、主力进出指标的白线向上突破黄线、紫线且三线向上发散,表示主力有效控盘,可逢底介入,持股待涨。7EX中亿财经网财经门户

2、主力进出指标的白线上涨过快远离黄、紫线,出现较大乖离,表示短线获利筹码较多,宜注意控制风险,可适当卖出。7EX中亿财经网财经门户

3、当白线回落至黄、紫线处受支撑时,而黄紫线发散向上,表7EX中亿财经网财经门户

8. 分时源码怎么通达信?

均价:SUM(V*C,0)/SUM(V,0),COLORGREEN,LINETHICK2;7EX中亿财经网财经门户

IF(均价7EX中亿财经网财经门户

IF(均价>=REF(均价,1),均价,DRAWNULL),COLORYELLOW,LINETHICK3;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=4,均价,'均'),COLORYELLOW,LINETHICK3;7EX中亿财经网财经门户

DRAWNUMBER(CURRBARSCOUNT=2,均价,均价),COLORYELLOW,LINETHICK3;7EX中亿财经网财经门户

扩展资料:7EX中亿财经网财经门户

分时均线的原理:7EX中亿财经网财经门户

与K线图上以每天收盘价作为统计依据的均线不同,均价是以盘口总成交额除以盘口总成交量的运算方式测算当前每一股的平均成交价,十分精确地统计出当前所有参与者的综合持仓成本。因此,有了这条均价线,我们就可以在盘面做一些简单的推理:7EX中亿财经网财经门户

1.当股价持续在均价线上方运行时,表明市场预期较好,买盘踊跃,当天介入的大部分投资者都能赚钱,这是盘口强势特征;7EX中亿财经网财经门户

2.当股价持续在均价线下方运行时,表明市场预期较差,卖盘踊跃,当天介入的大部分投资者都亏钱,属弱势特征;7EX中亿财经网财经门户

3.当均价线从低位持续上扬时,表明市场预期提高,投资者纷纷入场推进股价上涨,综合持仓成本不断抬高,对股价形成支撑;7EX中亿财经网财经门户

4.当均价线从高位持续下挫时,表明市场预期较差,投资者纷纷离场迫使股价下跌,综合持仓成本不断下降,对股价形成压制。7EX中亿财经网财经门户

一般来说,昨天收盘价是今天盘口多空力量的分水岭,如果开盘后半小时内均价线在昨天收盘价上方持续上扬,那么,该股属极强势且当天收出中长阳的概率较大;开盘后半小时内均价线在昨天收盘价下方持续创新低,该股属极弱势且当天收出中长阴的概率较大。7EX中亿财经网财经门户

均价线是超级短线实战的一个重要研判工具,它与分时走势交叉错落,如影随形,临盘运用因人而异,特别当一轮极端炒作的主升浪行将结束之时,盘口拉高的股价突然一改强势上攻个性,击穿均价线后大幅回落,此后如果均价线失而复得,得而复失,则是超短线出局信号。7EX中亿财经网财经门户

参考资料: 7EX中亿财经网财经门户

9. zlmm参数的最佳设置?

zlmm指标即主力买卖:7EX中亿财经网财经门户

LC :=REF(CLOSE,1);7EX中亿财经网财经门户

RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;7EX中亿财经网财经门户

RSI3:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100;7EX中亿财经网财经门户

MMS:MA(3*RSI2-2*SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100,3);7EX中亿财经网财经门户

MMM:EMA(MMS,8);7EX中亿财经网财经门户

MML:MA(3*RSI3-2*SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,5);7EX中亿财经网财经门户

白线为短期趋势线,黄线为中期趋势线,紫线为长期趋势线。7EX中亿财经网财经门户

1、主力买卖与主力进出配合使用时准确率极高。7EX中亿财经网财经门户

2、当底部构成发出信号,且主力进出线向上时判断买点,准确率极高。7EX中亿财经网财经门户

3、当短线上穿中线及长线时,形成最佳短线买点交叉形态(如底部构成已发出信号或主力进出线也向上且短线乖离率不大时)。7EX中亿财经网财经门户

4、当短线、中线均上穿长线,形成中线最佳买点形态(如底部构成已发出信号或主力进出线也向上且三线均向上时)。7EX中亿财经网财经门户

5、当短线下穿中线,且短线与长线正乖离率太大时,形成短线最佳卖点交叉形态。7EX中亿财经网财经门户

6、当短线、中线下穿长线,且是主力进出已走平或下降时,形成中线最佳卖点交叉形态。7EX中亿财经网财经门户

7、在上升途中,短、中线回落受长线支撑再度上行之时,为较佳的买入时机。7EX中亿财经网财经门户

8、指标在0以上表明个股处于强势,指标跌穿0线表明该股步入弱势。7EX中亿财经网财经门户

zljc指标即主力进出7EX中亿财经网财经门户

VAR1:=(CLOSE+LOW+HIGH)/3;7EX中亿财经网财经门户

VAR2:=SUM(((VAR1-REF(LOW,1))-(HIGH-VAR1))*VOL/100000/(HIGH-LOW),0);7EX中亿财经网财经门户

VAR3:=EMA(VAR2,1);7EX中亿财经网财经门户

JCS:VAR3;7EX中亿财经网财经门户

JCM:MA(VAR3,12);7EX中亿财经网财经门户

JCL:MA(VAR3,26);7EX中亿财经网财经门户

白线为短期主力运作轨迹,黄线为中期主力运作轨迹,紫线为长期主力运作轨迹。7EX中亿财经网财经门户

1、主力进出指标的白线向上突破黄线、紫线且三线向上发散,表示主力有效控盘,可逢底介入,持股待涨。7EX中亿财经网财经门户

2、主力进出指标的白线上涨过快远离黄、紫线,出现较大乖离,表示短线获利筹码较多,宜注意控制风险,可适当卖出。7EX中亿财经网财经门户

3、当白线回落至黄、紫线处受支撑时,而黄紫线发散向上,表7EX中亿财经网财经门户

10. kdj指标公式源码?

KDJ指标公式源码:7EX中亿财经网财经门户

参数:N:=9; M1:=3; M2:=3;7EX中亿财经网财经门户

RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;7EX中亿财经网财经门户

K:SMA(RSV,M1,1);7EX中亿财经网财经门户

D:SMA(K,M2,1);7EX中亿财经网财经门户

J:3*K-2*D;7EX中亿财经网财经门户

周K:=MA("KDJ.K#WEEK"(N,M1,M2) ,5),LINETHICK1,COLORRED;7EX中亿财经网财经门户

周D:=MA("KDJ.D#WEEK"(N,M1,M2) ,5),LINETHICK1,COLOR33FF99;7EX中亿财经网财经门户

周J:=MA("KDJ.J#WEEK"(N,M1,M2) ,5),LINETHICK1,COLORMAGENTA;7EX中亿财经网财经门户

月K:MA("KDJ.K#MONTH"(N,M1,M2),5),LINETHICK1,COLORFF00FF;7EX中亿财经网财经门户

月D:MA("KDJ.D#MONTH"(N,M1,M2),5),LINETHICK1,COLOR00FF00;7EX中亿财经网财经门户

月J:=MA("KDJ.J#MONTH"(N,M1,M2),5),LINETHICK1,COLORFFFFFF;7EX中亿财经网财经门户

DRAWBAND(月K,RGB(100,0,100),月D,RGB(120,120,120));7EX中亿财经网财经门户

STICKLINE(周K>=周D,周K,周D,1,0),COLOR6666FF;7EX中亿财经网财经门户

STICKLINE(周K<周D,周K,周D,1,1),COLOR00FFFF;7EX中亿财经网财经门户

STICKLINE(C>0,115,120,2,1),COLOR00FFFF;7EX中亿财经网财经门户

STICKLINE(C>0,-15,-20,2,1),COLORFFFF88;7EX中亿财经网财经门户

STICKLINE(周K>=周D,110,120,2,0),COLOR6666FF;7EX中亿财经网财经门户

STICKLINE(月K>=月D,-10,-20,2,0),COLOR660099;7EX中亿财经网财经门户

STICKLINE(C>0,48,52,2,1),COLORFFFFFF;7EX中亿财经网财经门户

STICKLINE(周K>=周D AND 月K>=月D,42,58,2,1),COLORRED;7EX中亿财经网财经门户

STICKLINE(月K<月D AND 周K>=周D,44,56,2,1),COLORFF00FF;7EX中亿财经网财经门户

STICKLINE(月K>=月D AND 周K<周D,46,54,2,1),COLOR00FF00;7EX中亿财经网财经门户

STICKLINE(CURRBARSCOUNT=88,10,90,99,0),COLOR222255;7EX中亿财经网财经门户

STICKLINE(CURRBARSCOUNT=88,100,90,99,0),COLORYELLOW;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=92,95,'中间彩柱'),COLORFF0000;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=8,110,'周KD金叉'),COLORFFFFFF;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=8,-10,'月KD交叉'),COLORFFFFFF;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=98,20,'月死叉周死叉--全退--白色'),COLORFFFFFF;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=98,40,'月金叉周死叉--减仓--绿色'),COLOR00FF00;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=98,60,'月死叉周金叉--反弹--粉色'),COLORFF00FF;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=98,80,'月金叉周金叉--持股--红色'),COLORRED;7EX中亿财经网财经门户

11. 分时源码怎么通达信?

均价:SUM(V*C,0)/SUM(V,0),COLORGREEN,LINETHICK2;7EX中亿财经网财经门户

IF(均价7EX中亿财经网财经门户

IF(均价>=REF(均价,1),均价,DRAWNULL),COLORYELLOW,LINETHICK3;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=4,均价,'均'),COLORYELLOW,LINETHICK3;7EX中亿财经网财经门户

DRAWNUMBER(CURRBARSCOUNT=2,均价,均价),COLORYELLOW,LINETHICK3;7EX中亿财经网财经门户

扩展资料:7EX中亿财经网财经门户

分时均线的原理:7EX中亿财经网财经门户

与K线图上以每天收盘价作为统计依据的均线不同,均价是以盘口总成交额除以盘口总成交量的运算方式测算当前每一股的平均成交价,十分精确地统计出当前所有参与者的综合持仓成本。因此,有了这条均价线,我们就可以在盘面做一些简单的推理:7EX中亿财经网财经门户

1.当股价持续在均价线上方运行时,表明市场预期较好,买盘踊跃,当天介入的大部分投资者都能赚钱,这是盘口强势特征;7EX中亿财经网财经门户

2.当股价持续在均价线下方运行时,表明市场预期较差,卖盘踊跃,当天介入的大部分投资者都亏钱,属弱势特征;7EX中亿财经网财经门户

3.当均价线从低位持续上扬时,表明市场预期提高,投资者纷纷入场推进股价上涨,综合持仓成本不断抬高,对股价形成支撑;7EX中亿财经网财经门户

4.当均价线从高位持续下挫时,表明市场预期较差,投资者纷纷离场迫使股价下跌,综合持仓成本不断下降,对股价形成压制。7EX中亿财经网财经门户

一般来说,昨天收盘价是今天盘口多空力量的分水岭,如果开盘后半小时内均价线在昨天收盘价上方持续上扬,那么,该股属极强势且当天收出中长阳的概率较大;开盘后半小时内均价线在昨天收盘价下方持续创新低,该股属极弱势且当天收出中长阴的概率较大。7EX中亿财经网财经门户

均价线是超级短线实战的一个重要研判工具,它与分时走势交叉错落,如影随形,临盘运用因人而异,特别当一轮极端炒作的主升浪行将结束之时,盘口拉高的股价突然一改强势上攻个性,击穿均价线后大幅回落,此后如果均价线失而复得,得而复失,则是超短线出局信号。7EX中亿财经网财经门户

参考资料: 7EX中亿财经网财经门户

12. macd变色指标公式?

MACD变色公式7EX中亿财经网财经门户

源码7EX中亿财经网财经门户

//MACD变色V4 +金叉买入指标公式7EX中亿财经网财经门户

//20150328 DIFF上穿0轴后在0轴上第一次死叉后又金叉7EX中亿财经网财经门户

//20150329 MACD多头二次翻红7EX中亿财经网财经门户

DIFF:EMA(CLOSE,12) - EMA(CLOSE,26),colorwhite,LINETHICK1;7EX中亿财经网财经门户

DEA: EMA(DIFF,9),coloryellow,LINETHICK1;7EX中亿财经网财经门户

MACD: 2*(DIFF-DEA),colorred,NODRAW;7EX中亿财经网财经门户

Zero: 0,colorff7f00,LINETHICK1;7EX中亿财经网财经门户

N:=IF(BARSCOUNT(C)<=5,MA(C,2),MA(C,5));7EX中亿财经网财经门户

角度:((ATAN((N - REF(N,1))) * 3.1416) * 10),NODRAW,colorcyan;7EX中亿财经网财经门户

//角度:((ATAN((MA(C,5) - REF(MA(C,5) ,1))) * 3.1416) * 10),NODRAW;7EX中亿财经网财经门户

流通股:SHGZG/10000/10000,NODRAW,colorff7f00;7EX中亿财经网财经门户

资本公积:GJJ/ZGB,NODRAW;7EX中亿财经网财经门户

//CCI抄底7EX中亿财经网财经门户

N:=14;7EX中亿财经网财经门户

TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;7EX中亿财经网财经门户

CCI: (TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),colorffff00,NODRAW;7EX中亿财经网财经门户

//红色7EX中亿财经网财经门户

STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,2,0),color0000ff;7EX中亿财经网财经门户

//墨绿7EX中亿财经网财经门户

STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,2,0),colorffff00;7EX中亿财经网财经门户

//洋红7EX中亿财经网财经门户

STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2,0),colorff00ff;7EX中亿财经网财经门户

//绿色7EX中亿财经网财经门户

STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2,0),color00ff00;7EX中亿财经网财经门户

低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.2;7EX中亿财经网财经门户

贴近零轴金叉:=CROSS(DIFF,DEA) AND MACD>0 AND BETWEEN(DIFF,-0.03,0.03);7EX中亿财经网财经门户

//VERLINE(水上低位金叉,1),colorwhite;7EX中亿财经网财经门户

//DRAWTEXT(低位金叉,DIFF*1.1,'低位'),color00aaff;7EX中亿财经网财经门户

AA:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));7EX中亿财经网财经门户

一次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=1,21)=1;7EX中亿财经网财经门户

二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=2,21)=1;7EX中亿财经网财经门户

三次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=3,21)=1;7EX中亿财经网财经门户

四次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=4,21)=1;7EX中亿财经网财经门户

五次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=5,21)=1;7EX中亿财经网财经门户

//VERLINE(二次金叉,1),colorwhite;7EX中亿财经网财经门户

DRAWTEXT(一次金叉,DIFF*1.1,'①'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(一次金叉 AND 低位金叉,DIFF*1.1,'①低位'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(二次金叉,DIFF*1.1,'②'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(二次金叉 AND 低位金叉,DIFF*1.1,'②低位'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(三次金叉,DIFF*1.1,'③'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(三次金叉 AND 低位金叉,DIFF*1.1,'③低位'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(四次金叉,DIFF*1.1,'④'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(四次金叉 AND 低位金叉,DIFF*1.1,'④低位'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(五次金叉,DIFF*1.1,'⑤'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(五次金叉 AND 低位金叉,DIFF*1.1,'⑤低位'),color00aaff;7EX中亿财经网财经门户

//DIFF上穿0轴后在0轴上第一次死叉后又金叉 www.gszb.com7EX中亿财经网财经门户

AA:= CROSS(DIFF,DEA) AND DEA>0 ;7EX中亿财经网财经门户

BB:=BARSLAST(CROSS(DEA,DIFF)) AND DEA>0;7EX中亿财经网财经门户

CC:=REF(BARSLAST(CROSS(DIFF,0))<20,BARSLAST(CROSS(DEA,DIFF))+1);7EX中亿财经网财经门户

MACD死叉后金叉:= AA AND BB AND CC;7EX中亿财经网财经门户

DRAWTEXT(MACD死叉后金叉,DIFF*1.1+0.1,'①'),colorred;7EX中亿财经网财经门户

//MACD多头二次翻红7EX中亿财经网财经门户

FH1:=REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);7EX中亿财经网财经门户

FH2:=MACD>=0 AND COUNT(MACD>REF(MACD,1),1)=1;7EX中亿财经网财经门户

FH3:=EMA(C,30)>=REF(EMA(C,30),1) AND COUNT(EMA(C,5)>EMA(C,10) AND EMA(C,10)>EMA(C,30),1)=1;7EX中亿财经网财经门户

FH4:=CROSS(C,EMA(C,30)) OR C>EMA(C,30);7EX中亿财经网财经门户

FH5:=FH1 AND FH2 AND FH3 AND FH4;7EX中亿财经网财经门户

FH6:=FH1 AND FH2 AND FH3 AND FH4 AND ABS((DIFF-DEA)/C)<0.018;7EX中亿财经网财经门户

FH7:=FH1 AND FH2 AND FH3 AND FH4 AND MACD<0.10;7EX中亿财经网财经门户

MACD多头二次翻红:=FH5 OR FH6 OR FH7;7EX中亿财经网财经门户

DRAWTEXT(MACD多头二次翻红 AND REF(CCI,1)<50,DIFF*1.1+0.05,'②'),colorred;7EX中亿财经网财经门户

//这个"二次翻红"指标除了满足原有的四个条件外,即:7EX中亿财经网财经门户

//一是MACD在零轴以上并且第二次收红柱;7EX中亿财经网财经门户

//二是MACD红柱大于等于零轴并且红柱缩短小于0.10以下;(实战0.111也行)7EX中亿财经网财经门户

//三是DIFF与DEA两线的粘合度小于0.018;7EX中亿财经网财经门户

//四是红柱连续缩短三天以上。7EX中亿财经网财经门户

//还基本满足了所描述的四个条件(即:7EX中亿财经网财经门户

//1、30日移动平均线由下跌变为走平或翘头向上,5日、10、30日移动平均线刚刚形成多头排列;7EX中亿财经网财经门户

//2、日K线刚刚上穿30日移动平均线或在30日移动平均线上方运行;7EX中亿财经网财经门户

//3、DIF在零轴下方与MACD金叉后可靠意义将会更大,在第一次翻红后,红柱开始缩短,越短越好,最好不要超过0轴的第一横线;7EX中亿财经网财经门户

//4、成交量由萎缩逐渐放大,特别是在二次翻红后,若能得到成交量的配合,该股后市向上冲击的力量会更大。)7EX中亿财经网财经门户

//该指标没有设计成交量这个条件。只要符合所涉及到的条件,就能在"二次翻红"起涨点选出股票。7EX中亿财经网财经门户

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));7EX中亿财经网财经门户

底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);7EX中亿财经网财经门户

A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));7EX中亿财经网财经门户

顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);7EX中亿财经网财经门户

DRAWLINE(A1=0,DEA,底背离,REF(DEA,A1),0),colorred,LINETHICK2;7EX中亿财经网财经门户

DRAWLINE(底背离,DEA,底背离,REF(DEA,A1),0),colorred,LINETHICK2;7EX中亿财经网财经门户

DRAWTEXT(底背离,REF(DEA,A1)*1.28,'+底背离'),COLORFF00FF;7EX中亿财经网财经门户

DRAWLINE(A2=0 ,DEA,顶背离,REF(DEA,A2),0),colorgreen,LINETHICK2;7EX中亿财经网财经门户

DRAWLINE(顶背离,DEA,顶背离,REF(DEA,A2),0),colorgreen,LINETHICK2;7EX中亿财经网财经门户

DRAWTEXT(顶背离,REF(DEA,A2)*1.18,'-顶背离'),colorgreen,LINETHICK2;7EX中亿财经网财经门户

//5日均线上穿24日均线7EX中亿财经网财经门户

MA5:=MA(C,5);7EX中亿财经网财经门户

MA24:=MA(C,24);7EX中亿财经网财经门户

LL:=IF(MACD<=0,MACD,-MACD);7EX中亿财经网财经门户

A1:=CROSS(MA5,MA24) OR (MA5>MA24 AND REF(MA5,1)<REF(MA24,1));7EX中亿财经网财经门户

A2:=MA(V,10)<V;7EX中亿财经网财经门户

A3:=IF(MACD<0,MACD>=REF(MACD,1),MACD<7EX中亿财经网财经门户

7EX中亿财经网财经门户

3);7EX中亿财经网财经门户

//五日内最大涨幅小于8%7EX中亿财经网财经门户

A4:=C>=O AND 角度<8 AND COUNT(C/O>1.08,5)<1;7EX中亿财经网财经门户

//日线买点:= MA5>MA24 AND REF(MA5,1)<REF(MA24,1) AND CCI<100;7EX中亿财经网财经门户

日线买点:= A1 AND A2 AND A3 AND A4;7EX中亿财经网财经门户

DRAWICON(日线买点,LL,"BUY");7EX中亿财经网财经门户

13. macd变色指标公式?

MACD变色公式7EX中亿财经网财经门户

源码7EX中亿财经网财经门户

//MACD变色V4 +金叉买入指标公式7EX中亿财经网财经门户

//20150328 DIFF上穿0轴后在0轴上第一次死叉后又金叉7EX中亿财经网财经门户

//20150329 MACD多头二次翻红7EX中亿财经网财经门户

DIFF:EMA(CLOSE,12) - EMA(CLOSE,26),colorwhite,LINETHICK1;7EX中亿财经网财经门户

DEA: EMA(DIFF,9),coloryellow,LINETHICK1;7EX中亿财经网财经门户

MACD: 2*(DIFF-DEA),colorred,NODRAW;7EX中亿财经网财经门户

Zero: 0,colorff7f00,LINETHICK1;7EX中亿财经网财经门户

N:=IF(BARSCOUNT(C)<=5,MA(C,2),MA(C,5));7EX中亿财经网财经门户

角度:((ATAN((N - REF(N,1))) * 3.1416) * 10),NODRAW,colorcyan;7EX中亿财经网财经门户

//角度:((ATAN((MA(C,5) - REF(MA(C,5) ,1))) * 3.1416) * 10),NODRAW;7EX中亿财经网财经门户

流通股:SHGZG/10000/10000,NODRAW,colorff7f00;7EX中亿财经网财经门户

资本公积:GJJ/ZGB,NODRAW;7EX中亿财经网财经门户

//CCI抄底7EX中亿财经网财经门户

N:=14;7EX中亿财经网财经门户

TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;7EX中亿财经网财经门户

CCI: (TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),colorffff00,NODRAW;7EX中亿财经网财经门户

//红色7EX中亿财经网财经门户

STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,2,0),color0000ff;7EX中亿财经网财经门户

//墨绿7EX中亿财经网财经门户

STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,2,0),colorffff00;7EX中亿财经网财经门户

//洋红7EX中亿财经网财经门户

STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2,0),colorff00ff;7EX中亿财经网财经门户

//绿色7EX中亿财经网财经门户

STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2,0),color00ff00;7EX中亿财经网财经门户

低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.2;7EX中亿财经网财经门户

贴近零轴金叉:=CROSS(DIFF,DEA) AND MACD>0 AND BETWEEN(DIFF,-0.03,0.03);7EX中亿财经网财经门户

//VERLINE(水上低位金叉,1),colorwhite;7EX中亿财经网财经门户

//DRAWTEXT(低位金叉,DIFF*1.1,'低位'),color00aaff;7EX中亿财经网财经门户

AA:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));7EX中亿财经网财经门户

一次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=1,21)=1;7EX中亿财经网财经门户

二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=2,21)=1;7EX中亿财经网财经门户

三次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=3,21)=1;7EX中亿财经网财经门户

四次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=4,21)=1;7EX中亿财经网财经门户

五次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=5,21)=1;7EX中亿财经网财经门户

//VERLINE(二次金叉,1),colorwhite;7EX中亿财经网财经门户

DRAWTEXT(一次金叉,DIFF*1.1,'①'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(一次金叉 AND 低位金叉,DIFF*1.1,'①低位'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(二次金叉,DIFF*1.1,'②'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(二次金叉 AND 低位金叉,DIFF*1.1,'②低位'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(三次金叉,DIFF*1.1,'③'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(三次金叉 AND 低位金叉,DIFF*1.1,'③低位'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(四次金叉,DIFF*1.1,'④'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(四次金叉 AND 低位金叉,DIFF*1.1,'④低位'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(五次金叉,DIFF*1.1,'⑤'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(五次金叉 AND 低位金叉,DIFF*1.1,'⑤低位'),color00aaff;7EX中亿财经网财经门户

//DIFF上穿0轴后在0轴上第一次死叉后又金叉 www.gszb.com7EX中亿财经网财经门户

AA:= CROSS(DIFF,DEA) AND DEA>0 ;7EX中亿财经网财经门户

BB:=BARSLAST(CROSS(DEA,DIFF)) AND DEA>0;7EX中亿财经网财经门户

CC:=REF(BARSLAST(CROSS(DIFF,0))<20,BARSLAST(CROSS(DEA,DIFF))+1);7EX中亿财经网财经门户

MACD死叉后金叉:= AA AND BB AND CC;7EX中亿财经网财经门户

DRAWTEXT(MACD死叉后金叉,DIFF*1.1+0.1,'①'),colorred;7EX中亿财经网财经门户

//MACD多头二次翻红7EX中亿财经网财经门户

FH1:=REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);7EX中亿财经网财经门户

FH2:=MACD>=0 AND COUNT(MACD>REF(MACD,1),1)=1;7EX中亿财经网财经门户

FH3:=EMA(C,30)>=REF(EMA(C,30),1) AND COUNT(EMA(C,5)>EMA(C,10) AND EMA(C,10)>EMA(C,30),1)=1;7EX中亿财经网财经门户

FH4:=CROSS(C,EMA(C,30)) OR C>EMA(C,30);7EX中亿财经网财经门户

FH5:=FH1 AND FH2 AND FH3 AND FH4;7EX中亿财经网财经门户

FH6:=FH1 AND FH2 AND FH3 AND FH4 AND ABS((DIFF-DEA)/C)<0.018;7EX中亿财经网财经门户

FH7:=FH1 AND FH2 AND FH3 AND FH4 AND MACD<0.10;7EX中亿财经网财经门户

MACD多头二次翻红:=FH5 OR FH6 OR FH7;7EX中亿财经网财经门户

DRAWTEXT(MACD多头二次翻红 AND REF(CCI,1)<50,DIFF*1.1+0.05,'②'),colorred;7EX中亿财经网财经门户

//这个"二次翻红"指标除了满足原有的四个条件外,即:7EX中亿财经网财经门户

//一是MACD在零轴以上并且第二次收红柱;7EX中亿财经网财经门户

//二是MACD红柱大于等于零轴并且红柱缩短小于0.10以下;(实战0.111也行)7EX中亿财经网财经门户

//三是DIFF与DEA两线的粘合度小于0.018;7EX中亿财经网财经门户

//四是红柱连续缩短三天以上。7EX中亿财经网财经门户

//还基本满足了所描述的四个条件(即:7EX中亿财经网财经门户

//1、30日移动平均线由下跌变为走平或翘头向上,5日、10、30日移动平均线刚刚形成多头排列;7EX中亿财经网财经门户

//2、日K线刚刚上穿30日移动平均线或在30日移动平均线上方运行;7EX中亿财经网财经门户

//3、DIF在零轴下方与MACD金叉后可靠意义将会更大,在第一次翻红后,红柱开始缩短,越短越好,最好不要超过0轴的第一横线;7EX中亿财经网财经门户

//4、成交量由萎缩逐渐放大,特别是在二次翻红后,若能得到成交量的配合,该股后市向上冲击的力量会更大。)7EX中亿财经网财经门户

//该指标没有设计成交量这个条件。只要符合所涉及到的条件,就能在"二次翻红"起涨点选出股票。7EX中亿财经网财经门户

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));7EX中亿财经网财经门户

底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);7EX中亿财经网财经门户

A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));7EX中亿财经网财经门户

顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);7EX中亿财经网财经门户

DRAWLINE(A1=0,DEA,底背离,REF(DEA,A1),0),colorred,LINETHICK2;7EX中亿财经网财经门户

DRAWLINE(底背离,DEA,底背离,REF(DEA,A1),0),colorred,LINETHICK2;7EX中亿财经网财经门户

DRAWTEXT(底背离,REF(DEA,A1)*1.28,'+底背离'),COLORFF00FF;7EX中亿财经网财经门户

DRAWLINE(A2=0 ,DEA,顶背离,REF(DEA,A2),0),colorgreen,LINETHICK2;7EX中亿财经网财经门户

DRAWLINE(顶背离,DEA,顶背离,REF(DEA,A2),0),colorgreen,LINETHICK2;7EX中亿财经网财经门户

DRAWTEXT(顶背离,REF(DEA,A2)*1.18,'-顶背离'),colorgreen,LINETHICK2;7EX中亿财经网财经门户

//5日均线上穿24日均线7EX中亿财经网财经门户

MA5:=MA(C,5);7EX中亿财经网财经门户

MA24:=MA(C,24);7EX中亿财经网财经门户

LL:=IF(MACD<=0,MACD,-MACD);7EX中亿财经网财经门户

A1:=CROSS(MA5,MA24) OR (MA5>MA24 AND REF(MA5,1)<REF(MA24,1));7EX中亿财经网财经门户

A2:=MA(V,10)<V;7EX中亿财经网财经门户

A3:=IF(MACD<0,MACD>=REF(MACD,1),MACD<7EX中亿财经网财经门户

7EX中亿财经网财经门户

3);7EX中亿财经网财经门户

//五日内最大涨幅小于8%7EX中亿财经网财经门户

A4:=C>=O AND 角度<8 AND COUNT(C/O>1.08,5)<1;7EX中亿财经网财经门户

//日线买点:= MA5>MA24 AND REF(MA5,1)<REF(MA24,1) AND CCI<100;7EX中亿财经网财经门户

日线买点:= A1 AND A2 AND A3 AND A4;7EX中亿财经网财经门户

DRAWICON(日线买点,LL,"BUY");7EX中亿财经网财经门户

14. macd变色指标公式?

MACD变色公式7EX中亿财经网财经门户

源码7EX中亿财经网财经门户

//MACD变色V4 +金叉买入指标公式7EX中亿财经网财经门户

//20150328 DIFF上穿0轴后在0轴上第一次死叉后又金叉7EX中亿财经网财经门户

//20150329 MACD多头二次翻红7EX中亿财经网财经门户

DIFF:EMA(CLOSE,12) - EMA(CLOSE,26),colorwhite,LINETHICK1;7EX中亿财经网财经门户

DEA: EMA(DIFF,9),coloryellow,LINETHICK1;7EX中亿财经网财经门户

MACD: 2*(DIFF-DEA),colorred,NODRAW;7EX中亿财经网财经门户

Zero: 0,colorff7f00,LINETHICK1;7EX中亿财经网财经门户

N:=IF(BARSCOUNT(C)<=5,MA(C,2),MA(C,5));7EX中亿财经网财经门户

角度:((ATAN((N - REF(N,1))) * 3.1416) * 10),NODRAW,colorcyan;7EX中亿财经网财经门户

//角度:((ATAN((MA(C,5) - REF(MA(C,5) ,1))) * 3.1416) * 10),NODRAW;7EX中亿财经网财经门户

流通股:SHGZG/10000/10000,NODRAW,colorff7f00;7EX中亿财经网财经门户

资本公积:GJJ/ZGB,NODRAW;7EX中亿财经网财经门户

//CCI抄底7EX中亿财经网财经门户

N:=14;7EX中亿财经网财经门户

TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;7EX中亿财经网财经门户

CCI: (TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),colorffff00,NODRAW;7EX中亿财经网财经门户

//红色7EX中亿财经网财经门户

STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,2,0),color0000ff;7EX中亿财经网财经门户

//墨绿7EX中亿财经网财经门户

STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,2,0),colorffff00;7EX中亿财经网财经门户

//洋红7EX中亿财经网财经门户

STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2,0),colorff00ff;7EX中亿财经网财经门户

//绿色7EX中亿财经网财经门户

STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2,0),color00ff00;7EX中亿财经网财经门户

低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.2;7EX中亿财经网财经门户

贴近零轴金叉:=CROSS(DIFF,DEA) AND MACD>0 AND BETWEEN(DIFF,-0.03,0.03);7EX中亿财经网财经门户

//VERLINE(水上低位金叉,1),colorwhite;7EX中亿财经网财经门户

//DRAWTEXT(低位金叉,DIFF*1.1,'低位'),color00aaff;7EX中亿财经网财经门户

AA:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));7EX中亿财经网财经门户

一次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=1,21)=1;7EX中亿财经网财经门户

二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=2,21)=1;7EX中亿财经网财经门户

三次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=3,21)=1;7EX中亿财经网财经门户

四次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=4,21)=1;7EX中亿财经网财经门户

五次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=5,21)=1;7EX中亿财经网财经门户

//VERLINE(二次金叉,1),colorwhite;7EX中亿财经网财经门户

DRAWTEXT(一次金叉,DIFF*1.1,'①'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(一次金叉 AND 低位金叉,DIFF*1.1,'①低位'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(二次金叉,DIFF*1.1,'②'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(二次金叉 AND 低位金叉,DIFF*1.1,'②低位'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(三次金叉,DIFF*1.1,'③'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(三次金叉 AND 低位金叉,DIFF*1.1,'③低位'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(四次金叉,DIFF*1.1,'④'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(四次金叉 AND 低位金叉,DIFF*1.1,'④低位'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(五次金叉,DIFF*1.1,'⑤'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(五次金叉 AND 低位金叉,DIFF*1.1,'⑤低位'),color00aaff;7EX中亿财经网财经门户

//DIFF上穿0轴后在0轴上第一次死叉后又金叉 www.gszb.com7EX中亿财经网财经门户

AA:= CROSS(DIFF,DEA) AND DEA>0 ;7EX中亿财经网财经门户

BB:=BARSLAST(CROSS(DEA,DIFF)) AND DEA>0;7EX中亿财经网财经门户

CC:=REF(BARSLAST(CROSS(DIFF,0))<20,BARSLAST(CROSS(DEA,DIFF))+1);7EX中亿财经网财经门户

MACD死叉后金叉:= AA AND BB AND CC;7EX中亿财经网财经门户

DRAWTEXT(MACD死叉后金叉,DIFF*1.1+0.1,'①'),colorred;7EX中亿财经网财经门户

//MACD多头二次翻红7EX中亿财经网财经门户

FH1:=REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);7EX中亿财经网财经门户

FH2:=MACD>=0 AND COUNT(MACD>REF(MACD,1),1)=1;7EX中亿财经网财经门户

FH3:=EMA(C,30)>=REF(EMA(C,30),1) AND COUNT(EMA(C,5)>EMA(C,10) AND EMA(C,10)>EMA(C,30),1)=1;7EX中亿财经网财经门户

FH4:=CROSS(C,EMA(C,30)) OR C>EMA(C,30);7EX中亿财经网财经门户

FH5:=FH1 AND FH2 AND FH3 AND FH4;7EX中亿财经网财经门户

FH6:=FH1 AND FH2 AND FH3 AND FH4 AND ABS((DIFF-DEA)/C)<0.018;7EX中亿财经网财经门户

FH7:=FH1 AND FH2 AND FH3 AND FH4 AND MACD<0.10;7EX中亿财经网财经门户

MACD多头二次翻红:=FH5 OR FH6 OR FH7;7EX中亿财经网财经门户

DRAWTEXT(MACD多头二次翻红 AND REF(CCI,1)<50,DIFF*1.1+0.05,'②'),colorred;7EX中亿财经网财经门户

//这个"二次翻红"指标除了满足原有的四个条件外,即:7EX中亿财经网财经门户

//一是MACD在零轴以上并且第二次收红柱;7EX中亿财经网财经门户

//二是MACD红柱大于等于零轴并且红柱缩短小于0.10以下;(实战0.111也行)7EX中亿财经网财经门户

//三是DIFF与DEA两线的粘合度小于0.018;7EX中亿财经网财经门户

//四是红柱连续缩短三天以上。7EX中亿财经网财经门户

//还基本满足了所描述的四个条件(即:7EX中亿财经网财经门户

//1、30日移动平均线由下跌变为走平或翘头向上,5日、10、30日移动平均线刚刚形成多头排列;7EX中亿财经网财经门户

//2、日K线刚刚上穿30日移动平均线或在30日移动平均线上方运行;7EX中亿财经网财经门户

//3、DIF在零轴下方与MACD金叉后可靠意义将会更大,在第一次翻红后,红柱开始缩短,越短越好,最好不要超过0轴的第一横线;7EX中亿财经网财经门户

//4、成交量由萎缩逐渐放大,特别是在二次翻红后,若能得到成交量的配合,该股后市向上冲击的力量会更大。)7EX中亿财经网财经门户

//该指标没有设计成交量这个条件。只要符合所涉及到的条件,就能在"二次翻红"起涨点选出股票。7EX中亿财经网财经门户

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));7EX中亿财经网财经门户

底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);7EX中亿财经网财经门户

A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));7EX中亿财经网财经门户

顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);7EX中亿财经网财经门户

DRAWLINE(A1=0,DEA,底背离,REF(DEA,A1),0),colorred,LINETHICK2;7EX中亿财经网财经门户

DRAWLINE(底背离,DEA,底背离,REF(DEA,A1),0),colorred,LINETHICK2;7EX中亿财经网财经门户

DRAWTEXT(底背离,REF(DEA,A1)*1.28,'+底背离'),COLORFF00FF;7EX中亿财经网财经门户

DRAWLINE(A2=0 ,DEA,顶背离,REF(DEA,A2),0),colorgreen,LINETHICK2;7EX中亿财经网财经门户

DRAWLINE(顶背离,DEA,顶背离,REF(DEA,A2),0),colorgreen,LINETHICK2;7EX中亿财经网财经门户

DRAWTEXT(顶背离,REF(DEA,A2)*1.18,'-顶背离'),colorgreen,LINETHICK2;7EX中亿财经网财经门户

//5日均线上穿24日均线7EX中亿财经网财经门户

MA5:=MA(C,5);7EX中亿财经网财经门户

MA24:=MA(C,24);7EX中亿财经网财经门户

LL:=IF(MACD<=0,MACD,-MACD);7EX中亿财经网财经门户

A1:=CROSS(MA5,MA24) OR (MA5>MA24 AND REF(MA5,1)<REF(MA24,1));7EX中亿财经网财经门户

A2:=MA(V,10)<V;7EX中亿财经网财经门户

A3:=IF(MACD<0,MACD>=REF(MACD,1),MACD<7EX中亿财经网财经门户

7EX中亿财经网财经门户

3);7EX中亿财经网财经门户

//五日内最大涨幅小于8%7EX中亿财经网财经门户

A4:=C>=O AND 角度<8 AND COUNT(C/O>1.08,5)<1;7EX中亿财经网财经门户

//日线买点:= MA5>MA24 AND REF(MA5,1)<REF(MA24,1) AND CCI<100;7EX中亿财经网财经门户

日线买点:= A1 AND A2 AND A3 AND A4;7EX中亿财经网财经门户

DRAWICON(日线买点,LL,"BUY");7EX中亿财经网财经门户

15. 分时源码怎么通达信?

均价:SUM(V*C,0)/SUM(V,0),COLORGREEN,LINETHICK2;7EX中亿财经网财经门户

IF(均价7EX中亿财经网财经门户

IF(均价>=REF(均价,1),均价,DRAWNULL),COLORYELLOW,LINETHICK3;7EX中亿财经网财经门户

DRAWTEXT(CURRBARSCOUNT=4,均价,'均'),COLORYELLOW,LINETHICK3;7EX中亿财经网财经门户

DRAWNUMBER(CURRBARSCOUNT=2,均价,均价),COLORYELLOW,LINETHICK3;7EX中亿财经网财经门户

扩展资料:7EX中亿财经网财经门户

分时均线的原理:7EX中亿财经网财经门户

与K线图上以每天收盘价作为统计依据的均线不同,均价是以盘口总成交额除以盘口总成交量的运算方式测算当前每一股的平均成交价,十分精确地统计出当前所有参与者的综合持仓成本。因此,有了这条均价线,我们就可以在盘面做一些简单的推理:7EX中亿财经网财经门户

1.当股价持续在均价线上方运行时,表明市场预期较好,买盘踊跃,当天介入的大部分投资者都能赚钱,这是盘口强势特征;7EX中亿财经网财经门户

2.当股价持续在均价线下方运行时,表明市场预期较差,卖盘踊跃,当天介入的大部分投资者都亏钱,属弱势特征;7EX中亿财经网财经门户

3.当均价线从低位持续上扬时,表明市场预期提高,投资者纷纷入场推进股价上涨,综合持仓成本不断抬高,对股价形成支撑;7EX中亿财经网财经门户

4.当均价线从高位持续下挫时,表明市场预期较差,投资者纷纷离场迫使股价下跌,综合持仓成本不断下降,对股价形成压制。7EX中亿财经网财经门户

一般来说,昨天收盘价是今天盘口多空力量的分水岭,如果开盘后半小时内均价线在昨天收盘价上方持续上扬,那么,该股属极强势且当天收出中长阳的概率较大;开盘后半小时内均价线在昨天收盘价下方持续创新低,该股属极弱势且当天收出中长阴的概率较大。7EX中亿财经网财经门户

均价线是超级短线实战的一个重要研判工具,它与分时走势交叉错落,如影随形,临盘运用因人而异,特别当一轮极端炒作的主升浪行将结束之时,盘口拉高的股价突然一改强势上攻个性,击穿均价线后大幅回落,此后如果均价线失而复得,得而复失,则是超短线出局信号。7EX中亿财经网财经门户

参考资料: 7EX中亿财经网财经门户

16. macd变色指标公式?

MACD变色公式7EX中亿财经网财经门户

源码7EX中亿财经网财经门户

//MACD变色V4 +金叉买入指标公式7EX中亿财经网财经门户

//20150328 DIFF上穿0轴后在0轴上第一次死叉后又金叉7EX中亿财经网财经门户

//20150329 MACD多头二次翻红7EX中亿财经网财经门户

DIFF:EMA(CLOSE,12) - EMA(CLOSE,26),colorwhite,LINETHICK1;7EX中亿财经网财经门户

DEA: EMA(DIFF,9),coloryellow,LINETHICK1;7EX中亿财经网财经门户

MACD: 2*(DIFF-DEA),colorred,NODRAW;7EX中亿财经网财经门户

Zero: 0,colorff7f00,LINETHICK1;7EX中亿财经网财经门户

N:=IF(BARSCOUNT(C)<=5,MA(C,2),MA(C,5));7EX中亿财经网财经门户

角度:((ATAN((N - REF(N,1))) * 3.1416) * 10),NODRAW,colorcyan;7EX中亿财经网财经门户

//角度:((ATAN((MA(C,5) - REF(MA(C,5) ,1))) * 3.1416) * 10),NODRAW;7EX中亿财经网财经门户

流通股:SHGZG/10000/10000,NODRAW,colorff7f00;7EX中亿财经网财经门户

资本公积:GJJ/ZGB,NODRAW;7EX中亿财经网财经门户

//CCI抄底7EX中亿财经网财经门户

N:=14;7EX中亿财经网财经门户

TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;7EX中亿财经网财经门户

CCI: (TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),colorffff00,NODRAW;7EX中亿财经网财经门户

//红色7EX中亿财经网财经门户

STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,2,0),color0000ff;7EX中亿财经网财经门户

//墨绿7EX中亿财经网财经门户

STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,2,0),colorffff00;7EX中亿财经网财经门户

//洋红7EX中亿财经网财经门户

STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2,0),colorff00ff;7EX中亿财经网财经门户

//绿色7EX中亿财经网财经门户

STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2,0),color00ff00;7EX中亿财经网财经门户

低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.2;7EX中亿财经网财经门户

贴近零轴金叉:=CROSS(DIFF,DEA) AND MACD>0 AND BETWEEN(DIFF,-0.03,0.03);7EX中亿财经网财经门户

//VERLINE(水上低位金叉,1),colorwhite;7EX中亿财经网财经门户

//DRAWTEXT(低位金叉,DIFF*1.1,'低位'),color00aaff;7EX中亿财经网财经门户

AA:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));7EX中亿财经网财经门户

一次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=1,21)=1;7EX中亿财经网财经门户

二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=2,21)=1;7EX中亿财经网财经门户

三次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=3,21)=1;7EX中亿财经网财经门户

四次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=4,21)=1;7EX中亿财经网财经门户

五次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(AA=5,21)=1;7EX中亿财经网财经门户

//VERLINE(二次金叉,1),colorwhite;7EX中亿财经网财经门户

DRAWTEXT(一次金叉,DIFF*1.1,'①'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(一次金叉 AND 低位金叉,DIFF*1.1,'①低位'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(二次金叉,DIFF*1.1,'②'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(二次金叉 AND 低位金叉,DIFF*1.1,'②低位'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(三次金叉,DIFF*1.1,'③'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(三次金叉 AND 低位金叉,DIFF*1.1,'③低位'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(四次金叉,DIFF*1.1,'④'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(四次金叉 AND 低位金叉,DIFF*1.1,'④低位'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(五次金叉,DIFF*1.1,'⑤'),color00aaff;7EX中亿财经网财经门户

DRAWTEXT(五次金叉 AND 低位金叉,DIFF*1.1,'⑤低位'),color00aaff;7EX中亿财经网财经门户

//DIFF上穿0轴后在0轴上第一次死叉后又金叉 www.gszb.com7EX中亿财经网财经门户

AA:= CROSS(DIFF,DEA) AND DEA>0 ;7EX中亿财经网财经门户

BB:=BARSLAST(CROSS(DEA,DIFF)) AND DEA>0;7EX中亿财经网财经门户

CC:=REF(BARSLAST(CROSS(DIFF,0))<20,BARSLAST(CROSS(DEA,DIFF))+1);7EX中亿财经网财经门户

MACD死叉后金叉:= AA AND BB AND CC;7EX中亿财经网财经门户

DRAWTEXT(MACD死叉后金叉,DIFF*1.1+0.1,'①'),colorred;7EX中亿财经网财经门户

//MACD多头二次翻红7EX中亿财经网财经门户

FH1:=REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);7EX中亿财经网财经门户

FH2:=MACD>=0 AND COUNT(MACD>REF(MACD,1),1)=1;7EX中亿财经网财经门户

FH3:=EMA(C,30)>=REF(EMA(C,30),1) AND COUNT(EMA(C,5)>EMA(C,10) AND EMA(C,10)>EMA(C,30),1)=1;7EX中亿财经网财经门户

FH4:=CROSS(C,EMA(C,30)) OR C>EMA(C,30);7EX中亿财经网财经门户

FH5:=FH1 AND FH2 AND FH3 AND FH4;7EX中亿财经网财经门户

FH6:=FH1 AND FH2 AND FH3 AND FH4 AND ABS((DIFF-DEA)/C)<0.018;7EX中亿财经网财经门户

FH7:=FH1 AND FH2 AND FH3 AND FH4 AND MACD<0.10;7EX中亿财经网财经门户

MACD多头二次翻红:=FH5 OR FH6 OR FH7;7EX中亿财经网财经门户

DRAWTEXT(MACD多头二次翻红 AND REF(CCI,1)<50,DIFF*1.1+0.05,'②'),colorred;7EX中亿财经网财经门户

//这个"二次翻红"指标除了满足原有的四个条件外,即:7EX中亿财经网财经门户

//一是MACD在零轴以上并且第二次收红柱;7EX中亿财经网财经门户

//二是MACD红柱大于等于零轴并且红柱缩短小于0.10以下;(实战0.111也行)7EX中亿财经网财经门户

//三是DIFF与DEA两线的粘合度小于0.018;7EX中亿财经网财经门户

//四是红柱连续缩短三天以上。7EX中亿财经网财经门户

//还基本满足了所描述的四个条件(即:7EX中亿财经网财经门户

//1、30日移动平均线由下跌变为走平或翘头向上,5日、10、30日移动平均线刚刚形成多头排列;7EX中亿财经网财经门户

//2、日K线刚刚上穿30日移动平均线或在30日移动平均线上方运行;7EX中亿财经网财经门户

//3、DIF在零轴下方与MACD金叉后可靠意义将会更大,在第一次翻红后,红柱开始缩短,越短越好,最好不要超过0轴的第一横线;7EX中亿财经网财经门户

//4、成交量由萎缩逐渐放大,特别是在二次翻红后,若能得到成交量的配合,该股后市向上冲击的力量会更大。)7EX中亿财经网财经门户

//该指标没有设计成交量这个条件。只要符合所涉及到的条件,就能在"二次翻红"起涨点选出股票。7EX中亿财经网财经门户

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));7EX中亿财经网财经门户

底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);7EX中亿财经网财经门户

A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));7EX中亿财经网财经门户

顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);7EX中亿财经网财经门户

DRAWLINE(A1=0,DEA,底背离,REF(DEA,A1),0),colorred,LINETHICK2;7EX中亿财经网财经门户

DRAWLINE(底背离,DEA,底背离,REF(DEA,A1),0),colorred,LINETHICK2;7EX中亿财经网财经门户

DRAWTEXT(底背离,REF(DEA,A1)*1.28,'+底背离'),COLORFF00FF;7EX中亿财经网财经门户

DRAWLINE(A2=0 ,DEA,顶背离,REF(DEA,A2),0),colorgreen,LINETHICK2;7EX中亿财经网财经门户

DRAWLINE(顶背离,DEA,顶背离,REF(DEA,A2),0),colorgreen,LINETHICK2;7EX中亿财经网财经门户

DRAWTEXT(顶背离,REF(DEA,A2)*1.18,'-顶背离'),colorgreen,LINETHICK2;7EX中亿财经网财经门户

//5日均线上穿24日均线7EX中亿财经网财经门户

MA5:=MA(C,5);7EX中亿财经网财经门户

MA24:=MA(C,24);7EX中亿财经网财经门户

LL:=IF(MACD<=0,MACD,-MACD);7EX中亿财经网财经门户

A1:=CROSS(MA5,MA24) OR (MA5>MA24 AND REF(MA5,1)<REF(MA24,1));7EX中亿财经网财经门户

A2:=MA(V,10)<V;7EX中亿财经网财经门户

A3:=IF(MACD<0,MACD>=REF(MACD,1),MACD<7EX中亿财经网财经门户

7EX中亿财经网财经门户

3);7EX中亿财经网财经门户

//五日内最大涨幅小于8%7EX中亿财经网财经门户

A4:=C>=O AND 角度<8 AND COUNT(C/O>1.08,5)<1;7EX中亿财经网财经门户

//日线买点:= MA5>MA24 AND REF(MA5,1)<REF(MA24,1) AND CCI<100;7EX中亿财经网财经门户

日线买点:= A1 AND A2 AND A3 AND A4;7EX中亿财经网财经门户

DRAWICON(日线买点,LL,"BUY");7EX中亿财经网财经门户