首页 > 原创>正文

波段起点主图选股指标(谷底选股: 请高手帮忙编写一条公式,是波段选股用的就像M字形“波峰,波谷”选股。用了能用得着还加分呵?)

中亿财经网 gengxing 2023-09-08 23:19:09

1. 谷底选股: 请高手帮忙编写一条公式,是波段选股用的就像M字形“波峰,波谷”选股。用了能用得着还加分呵?

波峰波谷  IRD中亿财经网财经门户

Var2:=MA(CLOSE, 5);  Var3:=MA(CLOSE, 10);  Var4:=MA(CLOSE, 20);  Var5:=MA(CLOSE, 30);  Var6:=(Var2+Var3+Var4+Var5)/4;  Var7:=(Var6-REF(Var6, 15))/REF(Var6,15)*100;  Var8:=(Var6-REF(Var6, 15))/REF(Var6, 15)*100;  Var9:=EMA(Var7, 8);  反转:STICKLINE(Var9>1*REF(Var9, 1), h,l,0.5,0), COLORwhite;  STICKLINE(Var9>1*REF(Var9, 1), o,c,5,1), COLORwhite;  持股:STICKLINE(Var7>1*REF(Var7, 1), h,l,0.5,0), COLORRED;  STICKLINE(Var7>1*REF(Var7, 1), o,c,5,1), COLORRED;  持币:STICKLINE(Var7<1*REF(Var7, 1),h,l,0.5,0 );  STICKLINE(Var7<1*REF(Var7, 1), o,c,5,1);  洗盘:STICKLINE(Var7<1*REF(Var7, 1) AND Var9>1*REF(Var9, 1),h,l,0.5,0 ), COLORF00FF0;  STICKLINE(Var7<1*REF(Var7, 1) AND Var9>1*REF(Var9, 1), o,c,5,1), COLORF00FF0;  平均价:=(HIGH+4*LOW+OPEN+CLOSE)/7;  均价差:= EMA(平均价,13) - EMA(平均价,34);  移动均价:= EMA(均价差,5);  差:=(均价差-移动均价)*5;  A:=IF(差>=1000 ,1000 ,IF(差<=平均价,平均价,差) );  IRD中亿财经网财经门户

分水岭:=forcast(forcast(A,31),10);  IRD中亿财经网财经门户

涨↑:if(A>分水岭,A,分水岭),LINETHICK1,colorred;  IRD中亿财经网财经门户

跌↓:if(A<分水岭,A,分水岭),LINETHICK1,Color00FF00;  {分:forcast(forcast(A,31),10),linethick1,colorffff00;}  ma6:=ma(c,6);  ma18:=ma(c,18);  ma55:=ma(c,55);  ma125:=ma(c,125);  ma250:=ma(c,250);  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);  AA:=REF(C,BARSLAST(HD)); B:=REF(C,BARSLAST(LD));  t11:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;  t21:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);  IRD中亿财经网财经门户

波峰:IF(t11,AA,AA),ColorFF00FF,POINTDOT;  STICKLINE(t11,AA,AA,9,0),ColorFF00FF;  IRD中亿财经网财经门户

波谷:IF(t21,B,B),Color80FF00,POINTDOT;  STICKLINE(t21,B,B,9,0),Color80FF00;  IRD中亿财经网财经门户

买进价:=((c-ref(ma6,1))/6+ma6)*1.004;  IRD中亿财经网财经门户

买进条件:=cross(c,买进价) and 买进价>ref(买进价,1);  IRD中亿财经网财经门户

白买进:IF(买进条件,l,h),COLORWHITE,POINTDOT;  STICKLINE(买进条件,h,l,0,1),colorwhite,linethick2;  STICKLINE(买进条件,o,c,4,1),colorwhite,linethick2;  IRD中亿财经网财经门户

加码价:=((c-ref(ma18,1))/18+ma18)*1.004;  IRD中亿财经网财经门户

加码条件:=cross(c,加码价) and 加码价>ref(加码价,1);  IRD中亿财经网财经门户

黄加码:IF(加码条件,l,h),coloryellow,POINTDOT;  STICKLINE(加码条件,h,l,0,1),coloryellow,linethick2;  STICKLINE(加码条件,o,c,4,1),coloryellow,linethick2;IRD中亿财经网财经门户

2. 谷底选股: 请高手帮忙编写一条公式,是波段选股用的就像M字形“波峰,波谷”选股。用了能用得着还加分呵?

波峰波谷  IRD中亿财经网财经门户

Var2:=MA(CLOSE, 5);  Var3:=MA(CLOSE, 10);  Var4:=MA(CLOSE, 20);  Var5:=MA(CLOSE, 30);  Var6:=(Var2+Var3+Var4+Var5)/4;  Var7:=(Var6-REF(Var6, 15))/REF(Var6,15)*100;  Var8:=(Var6-REF(Var6, 15))/REF(Var6, 15)*100;  Var9:=EMA(Var7, 8);  反转:STICKLINE(Var9>1*REF(Var9, 1), h,l,0.5,0), COLORwhite;  STICKLINE(Var9>1*REF(Var9, 1), o,c,5,1), COLORwhite;  持股:STICKLINE(Var7>1*REF(Var7, 1), h,l,0.5,0), COLORRED;  STICKLINE(Var7>1*REF(Var7, 1), o,c,5,1), COLORRED;  持币:STICKLINE(Var7<1*REF(Var7, 1),h,l,0.5,0 );  STICKLINE(Var7<1*REF(Var7, 1), o,c,5,1);  洗盘:STICKLINE(Var7<1*REF(Var7, 1) AND Var9>1*REF(Var9, 1),h,l,0.5,0 ), COLORF00FF0;  STICKLINE(Var7<1*REF(Var7, 1) AND Var9>1*REF(Var9, 1), o,c,5,1), COLORF00FF0;  平均价:=(HIGH+4*LOW+OPEN+CLOSE)/7;  均价差:= EMA(平均价,13) - EMA(平均价,34);  移动均价:= EMA(均价差,5);  差:=(均价差-移动均价)*5;  A:=IF(差>=1000 ,1000 ,IF(差<=平均价,平均价,差) );  IRD中亿财经网财经门户

分水岭:=forcast(forcast(A,31),10);  IRD中亿财经网财经门户

涨↑:if(A>分水岭,A,分水岭),LINETHICK1,colorred;  IRD中亿财经网财经门户

跌↓:if(A<分水岭,A,分水岭),LINETHICK1,Color00FF00;  {分:forcast(forcast(A,31),10),linethick1,colorffff00;}  ma6:=ma(c,6);  ma18:=ma(c,18);  ma55:=ma(c,55);  ma125:=ma(c,125);  ma250:=ma(c,250);  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);  AA:=REF(C,BARSLAST(HD)); B:=REF(C,BARSLAST(LD));  t11:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;  t21:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);  IRD中亿财经网财经门户

波峰:IF(t11,AA,AA),ColorFF00FF,POINTDOT;  STICKLINE(t11,AA,AA,9,0),ColorFF00FF;  IRD中亿财经网财经门户

波谷:IF(t21,B,B),Color80FF00,POINTDOT;  STICKLINE(t21,B,B,9,0),Color80FF00;  IRD中亿财经网财经门户

买进价:=((c-ref(ma6,1))/6+ma6)*1.004;  IRD中亿财经网财经门户

买进条件:=cross(c,买进价) and 买进价>ref(买进价,1);  IRD中亿财经网财经门户

白买进:IF(买进条件,l,h),COLORWHITE,POINTDOT;  STICKLINE(买进条件,h,l,0,1),colorwhite,linethick2;  STICKLINE(买进条件,o,c,4,1),colorwhite,linethick2;  IRD中亿财经网财经门户

加码价:=((c-ref(ma18,1))/18+ma18)*1.004;  IRD中亿财经网财经门户

加码条件:=cross(c,加码价) and 加码价>ref(加码价,1);  IRD中亿财经网财经门户

黄加码:IF(加码条件,l,h),coloryellow,POINTDOT;  STICKLINE(加码条件,h,l,0,1),coloryellow,linethick2;  STICKLINE(加码条件,o,c,4,1),coloryellow,linethick2;IRD中亿财经网财经门户

3. 谷底选股: 请高手帮忙编写一条公式,是波段选股用的就像M字形“波峰,波谷”选股。用了能用得着还加分呵?

波峰波谷  IRD中亿财经网财经门户

Var2:=MA(CLOSE, 5);  Var3:=MA(CLOSE, 10);  Var4:=MA(CLOSE, 20);  Var5:=MA(CLOSE, 30);  Var6:=(Var2+Var3+Var4+Var5)/4;  Var7:=(Var6-REF(Var6, 15))/REF(Var6,15)*100;  Var8:=(Var6-REF(Var6, 15))/REF(Var6, 15)*100;  Var9:=EMA(Var7, 8);  反转:STICKLINE(Var9>1*REF(Var9, 1), h,l,0.5,0), COLORwhite;  STICKLINE(Var9>1*REF(Var9, 1), o,c,5,1), COLORwhite;  持股:STICKLINE(Var7>1*REF(Var7, 1), h,l,0.5,0), COLORRED;  STICKLINE(Var7>1*REF(Var7, 1), o,c,5,1), COLORRED;  持币:STICKLINE(Var7<1*REF(Var7, 1),h,l,0.5,0 );  STICKLINE(Var7<1*REF(Var7, 1), o,c,5,1);  洗盘:STICKLINE(Var7<1*REF(Var7, 1) AND Var9>1*REF(Var9, 1),h,l,0.5,0 ), COLORF00FF0;  STICKLINE(Var7<1*REF(Var7, 1) AND Var9>1*REF(Var9, 1), o,c,5,1), COLORF00FF0;  平均价:=(HIGH+4*LOW+OPEN+CLOSE)/7;  均价差:= EMA(平均价,13) - EMA(平均价,34);  移动均价:= EMA(均价差,5);  差:=(均价差-移动均价)*5;  A:=IF(差>=1000 ,1000 ,IF(差<=平均价,平均价,差) );  IRD中亿财经网财经门户

分水岭:=forcast(forcast(A,31),10);  IRD中亿财经网财经门户

涨↑:if(A>分水岭,A,分水岭),LINETHICK1,colorred;  IRD中亿财经网财经门户

跌↓:if(A<分水岭,A,分水岭),LINETHICK1,Color00FF00;  {分:forcast(forcast(A,31),10),linethick1,colorffff00;}  ma6:=ma(c,6);  ma18:=ma(c,18);  ma55:=ma(c,55);  ma125:=ma(c,125);  ma250:=ma(c,250);  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);  AA:=REF(C,BARSLAST(HD)); B:=REF(C,BARSLAST(LD));  t11:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;  t21:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);  IRD中亿财经网财经门户

波峰:IF(t11,AA,AA),ColorFF00FF,POINTDOT;  STICKLINE(t11,AA,AA,9,0),ColorFF00FF;  IRD中亿财经网财经门户

波谷:IF(t21,B,B),Color80FF00,POINTDOT;  STICKLINE(t21,B,B,9,0),Color80FF00;  IRD中亿财经网财经门户

买进价:=((c-ref(ma6,1))/6+ma6)*1.004;  IRD中亿财经网财经门户

买进条件:=cross(c,买进价) and 买进价>ref(买进价,1);  IRD中亿财经网财经门户

白买进:IF(买进条件,l,h),COLORWHITE,POINTDOT;  STICKLINE(买进条件,h,l,0,1),colorwhite,linethick2;  STICKLINE(买进条件,o,c,4,1),colorwhite,linethick2;  IRD中亿财经网财经门户

加码价:=((c-ref(ma18,1))/18+ma18)*1.004;  IRD中亿财经网财经门户

加码条件:=cross(c,加码价) and 加码价>ref(加码价,1);  IRD中亿财经网财经门户

黄加码:IF(加码条件,l,h),coloryellow,POINTDOT;  STICKLINE(加码条件,h,l,0,1),coloryellow,linethick2;  STICKLINE(加码条件,o,c,4,1),coloryellow,linethick2;IRD中亿财经网财经门户

4. 通达信波段显示高低点,请问谁有这个通达信波段的指标公式?

你要先明确你的历史波段的高低点是以什么确定的,是跌涨幅大于百分之多少才定通义为顶点或谷点。以下是我给你写的公式,其中的N按你的想法来换数字,比如你的想法是涨跌超过10%才能算谷点或顶点,你就把N改为10。另外,判断顶点或谷点是后知后觉的,比如你看今天是最高了,但明天如果收盘更高,那今天的这个位置就不能算顶点,顶点要向后移了。因此,这个公式只能做参考,切莫以这个公式做选股用。以下的公式你先试试,应该没有问题。IRD中亿财经网财经门户

折线:ZIG(3,N);IRD中亿财经网财经门户

前波峰值:=PEAK(3,N,1);IRD中亿财经网财经门户

前波谷值:=TROUGH(3,N,1);IRD中亿财经网财经门户

DRAWNUMBER(折线>REF(折线,1)ANDREF(折线,1)<REF(折线,2),REF(C,1),-(前波峰值-REF(C,1))/前波峰值*100);IRD中亿财经网财经门户

DRAWNUMBER(折线<REF(折线,1)ANDREF(折线,1)>REF(折线,2),REF(C,1),(REF(C,1)-前波谷值)/前波谷值*100);IRD中亿财经网财经门户

5. 通达信波段显示高低点,请问谁有这个通达信波段的指标公式?

你要先明确你的历史波段的高低点是以什么确定的,是跌涨幅大于百分之多少才定通义为顶点或谷点。以下是我给你写的公式,其中的N按你的想法来换数字,比如你的想法是涨跌超过10%才能算谷点或顶点,你就把N改为10。另外,判断顶点或谷点是后知后觉的,比如你看今天是最高了,但明天如果收盘更高,那今天的这个位置就不能算顶点,顶点要向后移了。因此,这个公式只能做参考,切莫以这个公式做选股用。以下的公式你先试试,应该没有问题。IRD中亿财经网财经门户

折线:ZIG(3,N);IRD中亿财经网财经门户

前波峰值:=PEAK(3,N,1);IRD中亿财经网财经门户

前波谷值:=TROUGH(3,N,1);IRD中亿财经网财经门户

DRAWNUMBER(折线>REF(折线,1)ANDREF(折线,1)<REF(折线,2),REF(C,1),-(前波峰值-REF(C,1))/前波峰值*100);IRD中亿财经网财经门户

DRAWNUMBER(折线<REF(折线,1)ANDREF(折线,1)>REF(折线,2),REF(C,1),(REF(C,1)-前波谷值)/前波谷值*100);IRD中亿财经网财经门户

6. 通达信波段显示高低点,请问谁有这个通达信波段的指标公式?

你要先明确你的历史波段的高低点是以什么确定的,是跌涨幅大于百分之多少才定通义为顶点或谷点。以下是我给你写的公式,其中的N按你的想法来换数字,比如你的想法是涨跌超过10%才能算谷点或顶点,你就把N改为10。另外,判断顶点或谷点是后知后觉的,比如你看今天是最高了,但明天如果收盘更高,那今天的这个位置就不能算顶点,顶点要向后移了。因此,这个公式只能做参考,切莫以这个公式做选股用。以下的公式你先试试,应该没有问题。IRD中亿财经网财经门户

折线:ZIG(3,N);IRD中亿财经网财经门户

前波峰值:=PEAK(3,N,1);IRD中亿财经网财经门户

前波谷值:=TROUGH(3,N,1);IRD中亿财经网财经门户

DRAWNUMBER(折线>REF(折线,1)ANDREF(折线,1)<REF(折线,2),REF(C,1),-(前波峰值-REF(C,1))/前波峰值*100);IRD中亿财经网财经门户

DRAWNUMBER(折线<REF(折线,1)ANDREF(折线,1)>REF(折线,2),REF(C,1),(REF(C,1)-前波谷值)/前波谷值*100);IRD中亿财经网财经门户

7. 通达信波段显示高低点,请问谁有这个通达信波段的指标公式?

你要先明确你的历史波段的高低点是以什么确定的,是跌涨幅大于百分之多少才定通义为顶点或谷点。以下是我给你写的公式,其中的N按你的想法来换数字,比如你的想法是涨跌超过10%才能算谷点或顶点,你就把N改为10。另外,判断顶点或谷点是后知后觉的,比如你看今天是最高了,但明天如果收盘更高,那今天的这个位置就不能算顶点,顶点要向后移了。因此,这个公式只能做参考,切莫以这个公式做选股用。以下的公式你先试试,应该没有问题。IRD中亿财经网财经门户

折线:ZIG(3,N);IRD中亿财经网财经门户

前波峰值:=PEAK(3,N,1);IRD中亿财经网财经门户

前波谷值:=TROUGH(3,N,1);IRD中亿财经网财经门户

DRAWNUMBER(折线>REF(折线,1)ANDREF(折线,1)<REF(折线,2),REF(C,1),-(前波峰值-REF(C,1))/前波峰值*100);IRD中亿财经网财经门户

DRAWNUMBER(折线<REF(折线,1)ANDREF(折线,1)>REF(折线,2),REF(C,1),(REF(C,1)-前波谷值)/前波谷值*100);IRD中亿财经网财经门户

8. 谷底选股: 请高手帮忙编写一条公式,是波段选股用的就像M字形“波峰,波谷”选股。用了能用得着还加分呵?

波峰波谷  IRD中亿财经网财经门户

Var2:=MA(CLOSE, 5);  Var3:=MA(CLOSE, 10);  Var4:=MA(CLOSE, 20);  Var5:=MA(CLOSE, 30);  Var6:=(Var2+Var3+Var4+Var5)/4;  Var7:=(Var6-REF(Var6, 15))/REF(Var6,15)*100;  Var8:=(Var6-REF(Var6, 15))/REF(Var6, 15)*100;  Var9:=EMA(Var7, 8);  反转:STICKLINE(Var9>1*REF(Var9, 1), h,l,0.5,0), COLORwhite;  STICKLINE(Var9>1*REF(Var9, 1), o,c,5,1), COLORwhite;  持股:STICKLINE(Var7>1*REF(Var7, 1), h,l,0.5,0), COLORRED;  STICKLINE(Var7>1*REF(Var7, 1), o,c,5,1), COLORRED;  持币:STICKLINE(Var7<1*REF(Var7, 1),h,l,0.5,0 );  STICKLINE(Var7<1*REF(Var7, 1), o,c,5,1);  洗盘:STICKLINE(Var7<1*REF(Var7, 1) AND Var9>1*REF(Var9, 1),h,l,0.5,0 ), COLORF00FF0;  STICKLINE(Var7<1*REF(Var7, 1) AND Var9>1*REF(Var9, 1), o,c,5,1), COLORF00FF0;  平均价:=(HIGH+4*LOW+OPEN+CLOSE)/7;  均价差:= EMA(平均价,13) - EMA(平均价,34);  移动均价:= EMA(均价差,5);  差:=(均价差-移动均价)*5;  A:=IF(差>=1000 ,1000 ,IF(差<=平均价,平均价,差) );  IRD中亿财经网财经门户

分水岭:=forcast(forcast(A,31),10);  IRD中亿财经网财经门户

涨↑:if(A>分水岭,A,分水岭),LINETHICK1,colorred;  IRD中亿财经网财经门户

跌↓:if(A<分水岭,A,分水岭),LINETHICK1,Color00FF00;  {分:forcast(forcast(A,31),10),linethick1,colorffff00;}  ma6:=ma(c,6);  ma18:=ma(c,18);  ma55:=ma(c,55);  ma125:=ma(c,125);  ma250:=ma(c,250);  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);  AA:=REF(C,BARSLAST(HD)); B:=REF(C,BARSLAST(LD));  t11:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;  t21:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);  IRD中亿财经网财经门户

波峰:IF(t11,AA,AA),ColorFF00FF,POINTDOT;  STICKLINE(t11,AA,AA,9,0),ColorFF00FF;  IRD中亿财经网财经门户

波谷:IF(t21,B,B),Color80FF00,POINTDOT;  STICKLINE(t21,B,B,9,0),Color80FF00;  IRD中亿财经网财经门户

买进价:=((c-ref(ma6,1))/6+ma6)*1.004;  IRD中亿财经网财经门户

买进条件:=cross(c,买进价) and 买进价>ref(买进价,1);  IRD中亿财经网财经门户

白买进:IF(买进条件,l,h),COLORWHITE,POINTDOT;  STICKLINE(买进条件,h,l,0,1),colorwhite,linethick2;  STICKLINE(买进条件,o,c,4,1),colorwhite,linethick2;  IRD中亿财经网财经门户

加码价:=((c-ref(ma18,1))/18+ma18)*1.004;  IRD中亿财经网财经门户

加码条件:=cross(c,加码价) and 加码价>ref(加码价,1);  IRD中亿财经网财经门户

黄加码:IF(加码条件,l,h),coloryellow,POINTDOT;  STICKLINE(加码条件,h,l,0,1),coloryellow,linethick2;  STICKLINE(加码条件,o,c,4,1),coloryellow,linethick2;IRD中亿财经网财经门户