发布网友 发布时间:2022-04-22 13:50
共3个回答
热心网友 时间:2023-07-02 08:17
{使用的说明:
1、主力线上穿散户线买进,主力线下穿散户线卖出;
2、红柱出现买进,绿柱出现卖出;
3、熊市时做短线,牛市时做长线。}
A:=EMA(CLOSE,13);
多空力道:=((H-A+L-A)*36);
STICKLINE(多空力道>0,0,多空力道,8,0),colormagenta;
STICKLINE(多空力道<0,多空力道,0,8,0),colorgreen;
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;
DRAWTEXT(CROSS(85,RSI1),80,'顶');
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;
DRAWTEXT(CROSS(RSI1,25),-100,'底');
主力:EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5,colorred,LINETHICK2;
散户:EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5,Linethick2;
DRAWTEXT(CROSS(主力,散户) AND 主力<-10,-60,'升');
DRAWICON(CROSS(主力,散户) AND 主力<-10 AND 散户>REF(散户,1) OR CROSS(主力,散户) AND 散户<-35 ,-15,2);
DRAWTEXT(CROSS(RSI1,20)AND 散户<-20 AND 买点雷达 ,-60,'底');
DIF:=(EMA(CLOSE,12) - EMA(CLOSE,26))*3;
DEA:=EMA(DIF,27);
牛熊线:=0;
FILLRGN((DIF*),(DEA*),DIF>DEA,RGB(105,20,80),DIF<DEA,RGB(0,155,150));
{摘引来自天生股才的 同花顺非常有用的指标公式——主力力道(含用法),仅供参考。}追问错误句 :
买点雷达:(VARB 50 AND AR<70 AND VOL<VOL[1] AND VOL[1]<VOL[2] AND VOL[2]<VOL[3])*30
详细信息 : 某个操作数没有相应的操作符匹配!
错误起始位置 : 461 ; 长度: 9
追答抱歉,事先未曾测试,没想到会是这样。送你一新的(测试过了,仅供参考。):
{名称:强弱冲关}
AA1:=EMA(C,2);
BB1:=EMA(AA1,2);
A0:=MA(BB1,3);
AA2:=EMA((H+C+O)/3,18);
DD3:=A0>=AA2 AND C>AA2;
DD4:=A0AA2 ;
CC1:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;
CC2:=CROSS(C,CC1) AND CC1>REF(CC1,1);
ZB1:=HHV(L,20);
XX1 := MAX(MAX((H-L),ABS(REF(C,1)-H)),ABS(REF(C,1)-L));
XX2 :=MA(XX1,13);
XX3 :=REF(C,1)-REF(XX2,1);
XX4 :=HHV(XX3,20);
强弱分界:EMA(COST(85),10),COLORRED;
CB1:=EMA(COST(5),5);
CB2:=EMA(COST(13),5);
CB3:=EMA(COST(34),5);
CB4:=LLV(CB1,34);
CB5:=LLV(CB2,34);
CB6:=LLV(CB3,34);
CB7:=EMA(C,5);
CB8:=LLV(CB7,34);
STICKLINE((DD4 OR DD5) AND O=C ,H,L,0,0),COLOR3F8C3A;
STICKLINE((DD4 OR DD5) AND O>=C ,C,O,3,0),COLOR3F8C3A;
STICKLINE((DD3 OR C>AA2) AND OAA2) AND OAA2) AND O>=C,C,O,3,0),COLORFF33FF;
STICKLINE((DD3 OR C>AA2) AND O>=C,H,L,0,0),COLORFF33FF;
STICKLINE(CC2,H,L,0,0),COLORWHITE;
STICKLINE(CC2,O,C,3,0),COLORWHITE;
STICKLINE(MA(C,13)>O AND C>MA(C,13) AND OO AND C>MA(C,13),H,L,0,0),COLORYELLOW;
IF(ZB1=REF(ZB1,1),ZB1,DRAWNULL),POINTDOT,COLORYELLOW;
IF(XX4=REF(XX4,1),XX4,DRAWNULL),POINTDOT,COLORCYAN;
关1:IF(CB1>CB4,CB1,CB4),COLORBLUE;
关2:IF(CB2>CB5,CB2,CB5),COLORGREEN;
关3:IF(CB3>CB6,CB3,CB6),COLORMAGENTA;
冲关:IF(CB7>CB8,CB7,CB8),COLORWHITE;
DRAWICON(CROSS(C,冲关),L,1);
DRAWICON(CROSS(冲关,C),H,2);
热心网友 时间:2023-07-02 08:18
精妙共振指标:a:=(3*c+l+o+h)/6;
dkx:=(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)+14*ref(a,6)
+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)+9*ref(a,11)+8*ref(a,12)
+7*ref(a,13)+6*ref(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+
ref(a,20))/210,colorwhite;
d:=ma(dkx,y),coloryellow ;
dy:=d-ref(d,1);
DIFF:=EMA(CLOSE,SHORT) - EMA(CLOSE,LONG),colorwhite;
DEA:=EMA(DIFF,N),coloryellow;
E:=LON,colorwhite;
B:=ma(lon,m),coloryellow;
共振买入: (DIFF>DEA)AND (E>B)AND CROSS(dkx,d),linethick1,coloree8888;
买入:(dkx>d)AND(DIFF>DEA)AND CROSS(E,B),linethick1,colorf0ff00;
持股:(dkx>d)AND(DIFF>DEA)AND(E>B)AND(dy>0.012),stick,COLORFF00FF;{本行适于做快速拉升波段}
{持股:(dy>0.012),stick,COLORFF00FF; }{本行适于做中长线波段,做足大牛股行情。}
持币:=(dkx<=d)OR(DIFF<=DEA)OR(E<=B),stick,color00ff00;
本人用的各时间周期对应参数设置为:(Y,SHORT,LONG,N,M):日线图(10,12,26,9,3);周线图(5,10,21,9,3);月线图(4,6,13,4,3);60分钟图(6,14,16,5,3);其余周期参数和日线图相同。
用法:红柱出现买入或持股,红柱消失离场!股价大幅上涨后发出的买入信号不可靠。
热心网友 时间:2023-07-02 08:18
如果这些东西有用,谁还亏钱?