主力操盘线指标「主力操作线指标介绍及源码」

一、主力操盘线指标介绍

主力操盘线,为主图指标,涵盖技术分析选时、选股、买卖、风控四大核心要点

1、选时——涨跌趋势,主要看生命线的颜色:

主力操盘线为红色时为上涨趋势,绿色时为下跌趋势,一眼就能够识别个股的涨跌趋势

 

2、选股——弃弱从强,高胜率选股法

建议对于交易能力并不是特强的投资者,在红色线出现来寻找主力建仓机会,绿色线时则放弃寻找个股建仓机会。

3、支撑与压力,短中期均线对股价有压力与支撑作用

大趋势向下【主力操盘线为绿色、生命线为向下运行】,股价反弹过程中,当反弹至重要均线附近(生命线与主力操盘线),要注意反弹结束,趋势再次走弱

 

大趋势向上时【主力操盘线为红色、生命线向上运行】,股价在调整过程上,回踩至重要附近(生命线与主力操盘线),要注意调整结束,趋势再次走强

 

4、买卖点识别,主力建仓、主力减仓自动提示,识别主力意图

出现“主力建仓”为潜在买点,出现“主力减仓”为潜在卖点。

 

 

二、主力操盘线指标源码

SWL:(EMA(CLOSE,10)*7 EMA(CLOSE,20)*3)/10;

SWS:DMA(EMA(CLOSE,20),MAX(1,100*(SUM(VOL,5)/(3*CAPITAL)))),COLORWHITE,DOTLINE;

主力操盘线:IF(SWL>SWS,SWL,DRAWNULL),COLORRED,LINETHICK2;

生命线:IF(SWL<SWS,SWL,DRAWNULL),COLORGREEN,LINETHICK2;

STICKLINE(C>=O,L,H,0,0),COLORRED;

STICKLINE(C<O,L,H,0,0),COLORCYAN;

STICKLINE(C<O,C,O,3.5,0),COLORCYAN;

STICKLINE(C>=O,C,O,3.5,0),COLORRED;

KMJ:=MA(C,3);

VAR1:=KMJ>REF(KMJ,1) AND KMJ>REF(KMJ,2);

VAR2:=REF(VAR1,1) AND KMJ=REF(KMJ,2);

VAR3:=REF(VAR2,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);

VAR4:=REF(VAR3,1) AND KMJ=REF(KMJ,2);

VAR5:=REF(VAR4,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);

VAR6:=REF(VAR5,1) AND KMJ=REF(KMJ,2);

VAR7:=REF(VAR6,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);

VAR8:=REF(VAR7,1) AND KMJ=REF(KMJ,2);

VAR9:=REF(VAR8,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);

VARA:=REF(VAR9,1) AND KMJ=REF(KMJ,2);

VARB:=REF(VARA,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);

VARC:=REF(VARB,1) AND KMJ=REF(KMJ,2);

VARD:=KMJ<REF(KMJ,1) AND KMJ<REF(KMJ,2);

VARE:=REF(VARD,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);

VARF:=REF(VARE,1) AND KMJ=REF(KMJ,2);

VAR10:=REF(VARF,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);

VAR11:=REF(VAR10,1) AND KMJ=REF(KMJ,2);

VAR12:=REF(VAR11,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);

VAR13:=REF(VAR12,1) AND KMJ=REF(KMJ,2);

VAR14:=REF(VAR13,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);

VAR15:=REF(VAR14,1) AND KMJ=REF(KMJ,2);

VAR16:=REF(VAR15,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);

VAR17:=REF(VAR16,1) AND KMJ=REF(KMJ,2);

VAR18:=REF(VAR17,1) AND KMJ>=REF(KMJ,1) AND KMJ<=REF(KMJ,2);

VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR

VAR17 OR VAR18,1) AND VAR1;

VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1)

AND VARD;

STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA

OR VARB OR VARC,O,C,2,0),COLORRED;

STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA

OR VARB OR VARC,CLOSE,O,2.8,0),COLOR000055;

STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA

OR VARB OR VARC,CLOSE,O,2,0),COLOR000088;

STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA

OR VARB OR VARC,CLOSE,O,1.5,0),COLOR0000AA;

STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA

OR VARB OR VARC,CLOSE,O,1,0),COLOR0000CC;

STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA

OR VARB OR VARC,CLOSE,O,0.5,0),COLOR0000EE;

STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR

VAR17 OR VAR18,O,C,2.5,0),COLORLIGRAY;

STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR

VAR17 OR VAR18,O,C,2.8,0),COLOR555555;

STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR

VAR17 OR VAR18,O,C,2,0),COLOR888888;

STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR

VAR17 OR VAR18,O,C,1.5,0),COLORAAAAAA;

STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR

VAR17 OR VAR18,O,C,1,0),COLORCCCCCC;

STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR

VAR17 OR VAR18,O,C,0.5,0),COLOREEEEEE;

STICKLINE(VAR1A,MAX(C,O),(H L)/2,2.8,0),COLOR550055;

STICKLINE(VAR1A,MAX(C,O),(H L)/2,2,0),COLOR880088;

STICKLINE(VAR1A,MAX(C,O),(H L)/2,1.5,0),COLORAA00AA;

STICKLINE(VAR1A,MAX(C,O),(H L)/2,1,0),COLORCC00CC;

STICKLINE(VAR1A,MAX(C,O),(H L)/2,0.5,0),COLOREE00EE;

STICKLINE(VAR19,O,(H L)/2,2.8,0),COLOR335555;

STICKLINE(VAR19,O,(H L)/2,2,0),COLOR338888;

STICKLINE(VAR19,O,(H L)/2,1.5,0),COLOR33AAAA;

STICKLINE(VAR19,O,(H L)/2,1,0),COLOR33CCCC;

STICKLINE(VAR19,O,(H L)/2,0,0),COLOR33EEEE;

KMJMR:DRAWTEXT(VAR19,L*0.99,’←主力建仓’),COLORRED;

KMJMC:DRAWTEXT(VAR1A,H*1.01,’←主力减仓’),COLORGREEN;

Z1:=STRCAT(HYBLOCK,’ ‘);

Z2:=STRCAT(Z1,DYBLOCK);

Z3:=STRCAT(Z2,’ ‘);

DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;

未经允许不得转载:股市行情网 » 主力操盘线指标「主力操作线指标介绍及源码」

相关文章

评论 (0)