本帖最后由 学习资料 于 2024-9-16 13:08 编辑
通达信精准筹码分析与市场情绪副图指标 高抛低吸的决策利器
通达信精准筹码分析与市场情绪副图指标 高抛低吸的决策利器 源码
这个指标主要用于分析股票市场的筹码分布和市场情绪,以及识别潜在的买卖信号。首先,它通过计算收盘价的获利盘比例的倒数(LIJIN2)来估算市场的筹码分布情况。接着,通过移动平均线(LIJIN3)和收盘价与其的相对位置(LIJIN4)来评估市场的稳定性。
指标中还包含了高低价格区间(LIJIN5和LIJIN6)以及它们的差值(LIJIN7),用于标准化价格波动,进而计算出收盘价和开盘价相对于这个区间的位置(LIJIN8和LIJIN9)。这些计算有助于识别市场的超买或超卖状态。
此外,指标通过一系列复杂的计算(LIJIN12至LIJIN20)来评估市场的多种技术条件,如相对强弱指数(RSI)、市场波动性、以及价格与成交量的关系等。这些条件综合起来,形成了一个判断市场是否处于极端状态的指标(LIJIN20),用于提示投资者可能的买入机会。
中轴线(LIJIN23)则是一个综合指标,它结合了市场的多个技术指标,用于判断市场的中长期趋势。有钱赚和我走啦则是基于LIJIN20和LIJIND的买卖信号,通过绘制柱状图和文字提示,直观地向我们展示操作建议。
- LIJIN2:=1/WINNER(CLOSE);
- LIJIN3:=MA(CLOSE,13);
- LIJIN4:=100-ABS((CLOSE-LIJIN3)/LIJIN3*100);
- LIJIN5:=LLV(LOW,75);
- LIJIN6:=HHV(HIGH,75);
- LIJIN7:=(LIJIN6-LIJIN5)/100;
- LIJIN8:=SMA((CLOSE-LIJIN5)/LIJIN7,20,1);
- LIJIN9:=SMA((OPEN-LIJIN5)/LIJIN7,20,1);
- LIJINA:=3*LIJIN8-2*SMA(LIJIN8,15,1);
- LIJINB:=3*LIJIN9-2*SMA(LIJIN9,15,1);
- LIJINC:=100-LIJINB;
- 锁定筹码: MA(WINNER(CLOSE*0.95)*100,3),COLORRED;
- 新庄建仓: (100-IF(LIJIN2>5,IF(LIJIN2< 100,LIJIN2,LIJIN4-10),0)),COLORYELLOW;
- STICKLINE(1,新庄建仓,100,1,0),COLORYELLOW;
- STICKLINE(1,锁定筹码,0,1,0),COLORRED;
- LIJIND:=锁定筹码>LIJIN4;
- LIJINE:=REF(LOW,1)*0.9;
- LIJINF:=LOW*0.9;
- LIJIN10:=(LIJINF*VOL+LIJINE*(CAPITAL-VOL))/CAPITAL;
- LIJIN11:=EMA(LIJIN10,30);
- LIJIN12:=CLOSE-REF(CLOSE,1);
- LIJIN13:=MAX(LIJIN12,0);
- LIJIN14:=ABS(LIJIN12);
- LIJIN15:=SMA(LIJIN13,7,1)/SMA(LIJIN14,7,1)*100;
- LIJIN16:=SMA(LIJIN13,13,1)/SMA(LIJIN14,13,1)*100;
- LIJIN17:=BARSCOUNT(CLOSE);
- LIJIN18:=SMA(MAX(LIJIN12,0),6,1)/SMA(ABS(LIJIN12),6,1)*100;
- LIJIN19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
- LIJIN1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
- LIJIN1B:=SMA((SMA(LIJIN1A,4,1)-50)*2,3,1);
- LIJIN1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
- LIJIN1D:=SMA(LIJIN1C,4,1);
- LIJIN1E:=SMA(LIJIN1D,3,1);
- LIJIN1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
- LIJIN20:=LIJIN18<=25 AND LIJIN19< -95 AND LIJIN1F>20 AND LIJIN1B< -30 AND LIJIN1E< 30 AND LIJIN11-CLOSE>=-0.25 AND LIJIN15< 22 AND LIJIN16< 28 AND LIJIN17>50;
- LIJIN21:=(HIGH+LOW+CLOSE)/3;
- LIJIN22:=(LIJIN21-MA(LIJIN21,14))/(0.015*AVEDEV(LIJIN21,14));
- LIJIN23:=(LIJIN21-MA(LIJIN21,70))/(0.015*AVEDEV(LIJIN21,70));
- LIJIN24:=IF(LIJIN22>=150 AND LIJIN22< 200 AND LIJIN23>=150 AND LIJIN23< 200,10,0);
- LIJIN25:=IF(LIJIN22<=-150 AND LIJIN22>-200 AND LIJIN23<=-150 AND LIJIN23>-200,-10,LIJIN24);
- 中轴线:(IF(LIJIN23>=200 AND LIJIN22>=150,15,IF(LIJIN23<=-200 AND LIJIN22<=-150,-15,LIJIN25))+50),CROSSDOT,LINETHICK3,COLORGREEN;
- 有钱赚:(LIJIN20,0,80,5,0),COLORYELLOW;
- 我走啦:(LIJIND,LIJIN4,锁定筹码,5,0),COLORFFF516;
- STICKLINE(LIJIN20,0,80,5,0),LINETHICK1,COLORYELLOW;
- STICKLINE(LIJIND,LIJIN4,锁定筹码,5,0),LINETHICK1,COLORFFF516;
- DRAWTEXT(CROSS(LIJIN20,0.5) AND COUNT(LIJIN20=1,10)=1,60,'有钱不赚是傻蛋!'),COLORRED;
- DRAWTEXT(CROSS(LIJIND,0.5) AND COUNT(LIJIND=1,10)=1,70,'赚钱我走啦!'),COLORYELLOW;
- DRAWICON(CROSS(锁定筹码,中轴线),中轴线-5,9);
复制代码 |