当前位置: 网站首页 > 股票软件公式 > 同花顺公式 > 文章 当前位置: 同花顺公式 > 文章

同花顺源码:超级黑马图,仓位资金抄底MY,主力雷达先锋版

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

1、超级黑马图

 VAR2N:=1;

V1:=(MA(((100 * (CLOSE - LLV(CLOSE,34))) / (HHV(HIGH,34) - LLV(LOW,34))),5) - 20);
V2:=(2 * ABS(V1));
V3:=(100 - ((100 - (3 * SMA((((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100),20,1))) + (2 * SMA(SMA((((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100),20,1),15,1))));
V4:=(100 - ((100 - (3 * SMA((((OPEN - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100),20,1))) + (2 * SMA(SMA((((OPEN - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100),20,1),15,1))));
V5:=(((HIGH + LOW) + CLOSE) / 3);
V6:=((V5 - MA(V5,10)) / (0.015 * AVEDEV(V5,10)));
V7:=((V5 - MA(V5,30)) / (0.015 * AVEDEV(V5,30)));
V8:=IF(((((V6 >= 150) AND (V6 < 200)) AND (V7 >= 150)) AND (V7 < 200)),10,0);
V9:=(IF(((((V6 <= (0 - 150)) AND (V6 > (0 - 200))) AND (V7 <= (0 - 150))) AND (V7 > (0 - 200))),(0 - 10),V8) * VAR2N);
VA:=(((CLOSE - MA(CLOSE,13)) / MA(CLOSE,13)) * 100);
VB:=(100 - ABS(VA));
VC:=((3 * SMA((((INDEXC - LLV(INDEXL,55)) / (HHV(INDEXH,55) - LLV(INDEXL,55))) * 100),20,1)) - (2 * SMA(SMA((((INDEXC - LLV(INDEXL,55)) / (HHV(INDEXH,55) - LLV(INDEXL,55))) * 100),20,1),15,1)));
VD:=((3 * SMA((((INDEXO - LLV(INDEXL,55)) / (HHV(INDEXH,55) - LLV(INDEXL,55))) * 100),20,1)) - (2 * SMA(SMA((((INDEXO - LLV(INDEXL,55)) / (HHV(INDEXH,55) - LLV(INDEXL,55))) * 100),20,1),15,1)));
VE:=(REF(LOW,1) * 0.9);
VF:=(LOW * 0.9);
V10:=(((VF * VOL) + (VE * (CAPITAL - VOL))) / CAPITAL);
V11:=EMA(V10,30);
V12:=(V11 - CLOSE);
V13:=REF(CLOSE,1);
V14:=((SMA(MAX((CLOSE - V13),0),7,1) / SMA(ABS((CLOSE - V13)),7,1)) * 100);
V15:=((SMA(MAX((CLOSE - V13),0),13,1) / SMA(ABS((CLOSE - V13)),13,1)) * 100);
V16:=BARSCOUNT(CLOSE);
V17:=((SMA(MAX((CLOSE - REF(CLOSE,1)),0),6,1) / SMA(ABS((CLOSE - REF(CLOSE,1))),6,1)) * 100);
V18:=(((((0 - 100) * (HHV(HIGH,60) - CLOSE)) / (HHV(HIGH,60) - LLV(LOW,60))) + 50) * 2);
V19:=(((CLOSE - LLV(LOW,15)) / (HHV(HIGH,15) - LLV(LOW,15))) * 100);
V1A:=((SMA(V19,4,1) - 50) * 2);
V1B:=SMA(V1A,3,1);
V1C:=(((INDEXC - LLV(INDEXL,14)) / (HHV(INDEXH,14) - LLV(INDEXL,14))) * 100);
V1D:=SMA(V1C,4,1);
V1E:=SMA(V1D,3,1);
V1F:=(((HHV(HIGH,30) - CLOSE) / CLOSE) * 100);
V20:=(IF((((((((((V17 <= 25) AND (V18 < (0 - 95))) AND (V1F > 20)) AND (V1B < (0 - 30))) AND (V1E < 30)) AND (V12 >= (0 - 0.25))) AND (V14 < 22)) AND (V15 < 28)) AND (V16 > 50)),80,0) * VAR2N);
空方:(0 - (IF((V1 < 0),V2,0) * VAR2N)),LINESTICK;
(0 - 40);
C0:=(((HIGH + LOW) + CLOSE) / 3);
A1:=HHV(C0,14);
A2:=LLV(C0,14);
A3:=(A1 - A2);
A4:=(EMA(((C0 - A2) / A3),2) * 100);
B1:=HHV(C0,30);
B2:=LLV(C0,30);
B3:=(B1 - B2);
B4:=(EMA(((C0 - B2) / B3),2) * 100);
C1:=HHV(C0,55);
C2:=LLV(C0,55);
C3:=(C1 - C2);
C4:=(EMA(((C0 - C2) / C3),2) * 100);
A10:=(A4 - 50);
A20:=(B4 - 50);
A30:=(C4 - 50);
DRAWICON(CROSS(A1,0),0,4);
RSV2:=(((CLOSE - LLV(LOW,30)) / (HHV(HIGH,30) - LLV(LOW,30))) * 100);
K2:=SMA(RSV2,3,1);
D2:=SMA(K2,3,1);
J2:=((3 * K2) - (2 * D2));
动力线:(EMA(J2,6) * VAR2N),colorFFFF;
VAR2W:=EMA(CLOSE,5);
RSI1W:=((SMA(MAX((CLOSE - VAR2W),0),6,1) / SMA(ABS((CLOSE - VAR2W)),6,1)) * 100);
RSI2W:=((SMA(MAX((CLOSE - VAR2W),0),3,1) / SMA(ABS((CLOSE - VAR2W)),3,1)) * 100);
VAR1F:="KDJ.D"(18,5,6);
虎:IF(((((((((动力线 < 15.5) AND (空方 < (0 - 30))) AND (VAR1F < 35)) AND (RSI1W < 10)) AND (RSI2W < 6.5)) AND (A10 < (0 - 47))) AND (A20 < (0 - 47))) AND (A30 < (0 - 48.5))),50,0);
牛:(IF(((空方 < (0 - 38)) AND (虎 > 0)),70,0) * VAR2N);
VAR2:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < (0 - 0.273));
VAR21:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
VAR22:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));
获利线:=(VAR2 AND VAR22);
LC:=EMA((WINNER(CLOSE) * 100),3);
VAR2Q:=EMA(CLOSE,3);
神奇线:=((SMA(MAX((CLOSE - VAR2Q),0),6,1) / SMA(ABS((CLOSE - VAR2Q)),6,1)) * 100);
买点一:=MA(神奇线,10);
牛A:(IF((VAR22 AND (神奇线 < 3)),(0 - 40),0) * VAR2N),LINETHICK2,color3399FF;
牛B:(IF((VAR22 AND (买点一 < 9)),(0 - 38),0) * VAR2N),LINETHICK2,color3399FF;
剑:(FILTER(((神奇线 < 6) AND 获利线),35) * 1),STICK,LINETHICK2,colorFF0000;
DRAWICON((剑 > 0),1,1);
牛3:(IF((((LC < 1.5) AND (买点一 < 21)) AND (神奇线 < 5.5)),80,0) * VAR2N),LINETHICK2,color3399FF;
VAR1N:=1050431;
VAR22N:=IF((DATE <= VAR1N),1,0);
稳赚:=(MA(CLOSE,80) - (MA(CLOSE,13) / 3));
买点二:=EMA(((CLOSE - 稳赚) / 稳赚),1);
XA:=IF((CROSS(买点二,0) AND ((LOW / REF(HIGH,1)) < 1.012)),0.5,0);
XB:=IF((((COUNT((买点二 > REF(买点二,1)),3) = 3) AND (COUNT((买点二 < 0),10) = 10)) AND (REF(买点二,3) = LLV(买点二,10))),0.5,0);
VAR82:=IF((((((REF(买点二,2) = LLV(买点二,20)) AND (REF(买点二,2) < 0.071)) AND (REF(买点二,2) < REF(买点二,1))) AND NOT(((REF(LOW,1) > REF(HIGH,2)) AND (LOW > REF(HIGH,1))))) AND (CLOSE > REF(CLOSE,1))),0.5,0);
VAR83:=(EMA(买点二,12) * 0.7);
VAR84:=EMA(买点二,3);
底部将成:(IF((LLV((VAR84 - VAR83),5) > 0),0,(0 - 40)) * VAR22N),colorFFCC66;




2、仓位资金抄底MY

///资金抄底

IF(PERIODNAME<>"日线")
{
统计:"该指标只在日线周期下有效。";
RETURN;
}
//大单净量
r:=((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))/SHGZG*100;
//相对强弱
LC := REF(CLOSE,1);//前一日收盘价;
RSI$1:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(ABS(CLOSE-LC),3,1)*100;
RSI$2:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
RSI$3:=SMA(MAX(CLOSE-LC,0),8,1)/SMA(ABS(CLOSE-LC),8,1)*100;
相对强弱:=0.5*RSI$1+0.31*RSI$2+0.19*RSI$3;
wave$1:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),3,1);
wave$2:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),5,1);
wave$3:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),8,1);
短线波段:=0.5*wave$1+0.31*wave$2+0.19*wave$3;
机会区:20,POINTDOT,colorred;
风险区:80,POINTDOT,colorgreen;
风险系数:0.5*相对强弱+0.5*短线波段,coloryellow;
//买入条件;
CD1:=IF(风险系数<20 AND CLOSE>OPEN AND r>0,1,0);//波段小于20,股价翻红;
CD2:=IF(风险系数<20 AND LOW>=REF(LOW,1) AND CLOSE>LOW AND r>0,1,0);//波段小于20,股价未翻红,但未创新低;
CD3:=IF(REF(风险系数,1)<20 AND 风险系数>REF(风险系数,1),1,0);//前一日波段小于20,今日转向;
SIGNALBUY=(CD1=1 OR CD2=1 OR CD3=1);
X=(SIGNALBUY AND COUNT(SIGNALBUY,3)=1);
DRAWICON(X,机会区,"buy");
///资金仓位
IF(PERIODNAME<>"日线")
{
统计:"该指标只在日线周期下有效。";
RETURN;
}
m5=0;
m10=0;
m20=0;
m30=0;
m60=0;
a2=MA(C,1);
a5=MA(C,5);
a10=MA(C,10);
a20=MA(C,20);
a30=MA(C,30);
a60=MA(C,60);
IF(a5=NULL)m5=100;
IF(a2>=a5)
{
m5=100;
IF(a2>=a10)
{
m10=0;
IF(a2>=a20)
{
m20=0;
IF(a2>=a30)
{
m30=0;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-100;
}
}
IF(a2<a30)
{
m30=-70;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-30;
}
}
}
IF(a2<a20)
{
m20=-50;
IF(a2>=a30)
{
m30=0;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-50;
}
}
IF(a2<a30)
{
M30=-20;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-30;
}
}
}
}
IF(a2<a10)
{
m10=-50;
IF(a2>=a20)
{
m20=10;
IF(a2>=a30)
{
m30=0;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-60;
}
}
IF(a2<a30)
{
m30=-30;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-30;
}
}
}
IF(a2<a20)
{
m20=-10;
IF(a2>=a30)
{
m30=0;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-40;
}
}
IF(a2<a30)
{
m30=-20;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-20;
}
}
}
}
}
IF(a2<a5)
{
m5=0;
IF(a2>=a10)
{
m10=50;
IF(a2>=a20)
{
m20=20;
IF(a2>=a30)
{
m30=10;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-80;
}
}
IF(a2<a30)
{
m30=-40;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-30;
}
}
}
IF(a2<a20)
{
M20=0;
IF(a2>=a30)
{
m30=0;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-50;
}
}
IF(a2<a30)
{
m30=-20;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-30;
}
}
}
}
IF(a2<a10)
{
m10=0;
IF(a2>=a20)
{
m20=50;
IF(a2>=a30)
{
m30=0;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-50;
}
}
IF(a2<a30)
{
m30=-20;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-30;
}
}
}
IF(a2<a20)
{
M20=0;
IF(a2>=a30)
{
m30=30;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-30;
}
}
IF(a2<a30)
{
m30=0;
IF(a2>=a60)
{
m60=10;
}
IF(a2<a60)
{
m60=0;
}
}
}
}
}
IF(a2>=a5 AND a2>=a10 AND a2>=a20 AND a2>=a30 AND a2<a60)m5=150;
IF(a2>=a5 AND a2>=a10 AND a2<a20 AND a2>=a30 AND a2<a60)m5=130;
IF(a2>=a5 AND a2>=a10 AND a2>=a20 AND a2<a30 AND a2<a60)m5=130;
IF(a2>=a5 AND a2<a10 AND a2<a30 AND a2<a60)m5=110;
IF(a2<a5 AND a2>=a10 AND a2>=a20 AND a2>=a30 AND a2<a60)m5=30;
IF(a2>=a5 AND a2>=a10 AND a2>=a20 AND a5>=a10 AND a2<a30 AND a2<a60)m5=130;
IF(a2>=a5 AND a2>=a10 AND a5>=a10 AND a2<a20 AND a2<a30 AND a2<a60)m5=120;
IF(a2>=a5 AND a2>=a10 AND a5<a10 AND a2<a20 AND a2<a30 AND a2<a60)m5=110;
IF(a2>=a5 AND a2>=a10 AND a2>=a20 AND a2>=a30 AND a2<a60 AND a5<a10 AND a10<a30)m5=130;
m=m5+m10+m20+m30+m60;
IF(m>=50){STICKLINE(m,0,m,10,1),colorred;}ELSE{STICKLINE(m,0,m,10,1),colorgreen;}





3、主力雷达先锋版

先锋版,大战略,金融大师版,必备常用指标。( 顶尖财经 股票学院: http://www.58188.com )
a入场:通过2年价格监控分析;指标经过一波拉长出现绿色柱子,之后回落的第一根是参考买入。
b:资金仓位,黄色柱线。
c:监控主力启动的一个指标,对主力发动上涨具有较好的效果。
图中红线代表主力监控线,蓝色连线表示散户监控线;
当红线自下而上上穿蓝线时,表明市场场内资金做多力量逐渐增加,此时可适当关注;
当红线自上而下下穿蓝线时,表明市场场内资金做空力量逐渐增加,此时应注意市场风险。
当图中提示“顶”时,需要注意市场风险;要做好减仓准备,观察几日后可全部清仓观望。
当图中提示“底”时,表明股价调整幅度相对较大,有反弹需求;可以建仓,保守的投资者可以在随后的几日,确定上涨趋势之后买入。
当图中在同一天显示“底”和“升”时,个股短线见底概率较大。
当图中提示“升”时,表明股价已有极大幅度的调整。

LC:=REF(CLOSE,1);

RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;
卖点雷达:=CROSS(85,RSI1)*30;
Varb:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
Varc:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
Vard:=BARSCOUNT(CLOSE);
买点雷达:=(Varb< 20 AND Varc< 25 AND Vard> 50 AND AR<70 AND VOL<VOL[1] AND VOL[1]<VOL[2] AND VOL[2]<VOL[3])*30;
Var1:=EMA(HHV(HIGH,484),21);
Var2:=EMA(HHV(HIGH,242),21);
Var3:=EMA(HHV(HIGH,90),21);
Var4:=EMA(LLV(LOW,484),21);
Var5:=EMA(LLV(LOW,242),21);
Var6:=EMA(LLV(LOW,90),21);
Var7:=EMA((Var4*0.96+Var5*0.96+Var6*0.96+Var1*0.558+Var2*0.558+Var3*0.558)/6,21);
Var8:=EMA((Var4*1.25+Var5*1.23+Var6*1.2+Var1*0.55+Var2*0.55+Var3*0.65)/6,21);
Var9:=EMA((Var4*1.3+Var5*1.3+Var6*1.3+Var1*0.68+Var2*0.68+Var3*0.68)/6,21);
VarA:=EMA((Var7*3+Var8*2+Var9)/6*1.738,21);
VarB:=REF(LOW,1);
VarC:=SMA(ABS(LOW-VarB),3,1)/SMA(MAX(LOW-VarB,0),3,1)*100;
VarD:=EMA(IF(CLOSE*1.35<=VarA,VarC*10,VarC/10),3);
VarE:=LLV(LOW,30);
VarF:=HHV(VarD,30);
Var10:=IF(MA(CLOSE,58),1,0);
ZJRC:=EMA(IF(LOW<=VarE,(VarD+VarF*2)/2,0),3)/618*Var10;
入场:IF(ZJRC>0.5 AND ZJRC<300 ,ZJRC,0),colorgreen;
A1:IF(入场>0.5,入场*1,0),COLORD2FFD2;
A2:IF(入场>0.5,入场*0.8,0),COLOR84FF84;
A3:IF(入场>0.5,入场*0.6,0),COLOR00D700;
A4:IF(入场>0.5,入场*0.4,0),COLOR008800;
A5:IF(入场>0.5,入场*0.2,0),COLOR006600;
底场:IF(ZJRC>300,ZJRC*0.1,0),color0000FF;
B1:IF(底场>0.5,底场*1,0),COLOR0000FF;
B2:IF(底场>0.5,底场*0.8,0),COLOR5555FF;
B3:IF(底场>0.5,底场*0.6,0),COLOR9999FF;
B4:IF(底场>0.5,底场*0.4,0),COLORCCCCFF;
B5:IF(底场>0.5,底场*0.2,0),COLORFFFFFF;
主力:EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5,Color5555FF;
散户:EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5,colorBBBB00;
DRAWTEXT(CROSS(85,RSI1),80,'顶');
DRAWTEXT(CROSS(RSI1,25),-100,'底');
DRAWTEXT(CROSS(主力,散户) AND 主力<-10,-60,'升');
DRAWICON(CROSS(主力,散户) AND 主力<-10 AND 散户>REF(散户,1) OR CROSS(主力,散户) AND 散户<-35 ,-15,1);
DRAWTEXT(CROSS(RSI1,20)AND 散户<-20 AND 买点雷达 ,-60,'底');
z:0,color999999;
//资金仓位//
m5=0;
m10=0;
m20=0;
m30=0;
m60=0;
a2=MA(C,1);
a5=MA(C,5);
a10=MA(C,10);
a20=MA(C,20);
a30=MA(C,30);
a60=MA(C,60);
IF(a5=NULL)m5=100;
IF(a2>=a5)
{
m5=100;
IF(a2>=a10)
{
m10=0;
IF(a2>=a20)
{
m20=0;
IF(a2>=a30)
{
m30=0;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-100;
}
}
IF(a2<a30)
{
m30=-70;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-30;
}
}
}
IF(a2<a20)
{
m20=-50;
IF(a2>=a30)
{
m30=0;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-50;
}
}
IF(a2<a30)
{
M30=-20;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-30;
}
}
}
}
IF(a2<a10)
{
m10=-50;
IF(a2>=a20)
{
m20=10;
IF(a2>=a30)
{
m30=0;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-60;
}
}
IF(a2<a30)
{
m30=-30;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-30;
}
}
}
IF(a2<a20)
{
m20=-10;
IF(a2>=a30)
{
m30=0;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-40;
}
}
IF(a2<a30)
{
m30=-20;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-20;
}
}
}
}
}
IF(a2<a5)
{
m5=0;
IF(a2>=a10)
{
m10=50;
IF(a2>=a20)
{
m20=20;
IF(a2>=a30)
{
m30=10;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-80;
}
}
IF(a2<a30)
{
m30=-40;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-30;
}
}
}
IF(a2<a20)
{
M20=0;
IF(a2>=a30)
{
m30=0;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-50;
}
}
IF(a2<a30)
{
m30=-20;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-30;
}
}
}
}
IF(a2<a10)
{
m10=0;
IF(a2>=a20)
{
m20=50;
IF(a2>=a30)
{
m30=0;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-50;
}
}
IF(a2<a30)
{
m30=-20;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-30;
}
}
}
IF(a2<a20)
{
M20=0;
IF(a2>=a30)
{
m30=30;
IF(a2>=a60)
{
m60=0;
}
IF(a2<a60)
{
m60=-30;
}
}
IF(a2<a30)
{
m30=0;
IF(a2>=a60)
{
m60=10;
}
IF(a2<a60)
{
m60=0;
}
}
}
}
}
IF(a2>=a5 AND a2>=a10 AND a2>=a20 AND a2>=a30 AND a2<a60)m5=150;
IF(a2>=a5 AND a2>=a10 AND a2<a20 AND a2>=a30 AND a2<a60)m5=130;
IF(a2>=a5 AND a2>=a10 AND a2>=a20 AND a2<a30 AND a2<a60)m5=130;
IF(a2>=a5 AND a2<a10 AND a2<a30 AND a2<a60)m5=110;
IF(a2<a5 AND a2>=a10 AND a2>=a20 AND a2>=a30 AND a2<a60)m5=30;
IF(a2>=a5 AND a2>=a10 AND a2>=a20 AND a5>=a10 AND a2<a30 AND a2<a60)m5=130;
IF(a2>=a5 AND a2>=a10 AND a5>=a10 AND a2<a20 AND a2<a30 AND a2<a60)m5=120;
IF(a2>=a5 AND a2>=a10 AND a5<a10 AND a2<a20 AND a2<a30 AND a2<a60)m5=110;
IF(a2>=a5 AND a2>=a10 AND a2>=a20 AND a2>=a30 AND a2<a60 AND a5<a10 AND a10<a30)m5=130;
ZJCW:=(m5+m10+m20+m30+m60);
IF(ZJCW>49)
仓位V:ZJCW,COLOR00FFFF;
ELSE
仓位A:ZJCW,COLORAAAAAA;
STICKLINE(ZJCW>49,0,ZJCW,1,0),color00FFFF;

上一篇:同花顺源码:分时抓涨停,刀哥第一组合,抄底配合

下一篇:同花顺源码:量子波段王,简单均线,双龙乘风出海趋势均线