将[郑云老师出品的“云的四季”]改为大智慧版本用的
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

DRAWBAND(0,RGB(0,103,163),30,RGB(0,103,163));DRAWBAND(30,RGB(26,108,145),50,RGB(26,108,145)); DRAWBAND(50,RGB(0,74,111),70,RGB(0,74,111));DRAWBAND(70,RGB(0,45,66),80,RGB(0,45,66));DRAWTEXT_FIX(1,0,0.6,0,'冬'),COLORYELLOW;DRAWTEXT_FIX(1,0,0.4,0,'春'),COLOR0066FF;DRAWTEXT_FIX(1,0,0.2,0,'夏'),COLORFF00FF;DRAWTEXT_FIX(1,0,0.05,0,'秋'),COLOR0000FF;LC:=REF(CLOSE,1);RSI:SMA(MAX(CLOSE-LC,0),15,1)/SMA(ABS(CLOSE-LC),15,1)*100,LINETHICK2,COLOR000000;30;70;STICKLINE(RSI<=30,RSI,30,5,0),COLOR0000BB;STICKLINE(RSI>=70,RSI,70,5,0),COLORFFFFFF;Q:=5;AA:=REF(RSI,Q)=HHV(RSI,2*Q+1);BB:=FILTER(AA,Q);CC:=BACKSET(BB,Q+1);DD:=FILTER(CC,Q);AAA:=REF(RSI,Q)=LLV(RSI,2*Q+1);BBB:=FILTER(AAA,Q);CCC:=BACKSET(BBB,Q+1);DDD:=FILTER(CCC,Q);R11:=BACKSET(ISLASTBAR,BARSLAST(DD)+1); S11:=R11>REF(R11,1);压力线:DRAWLINE(DD,RSI,S11,RSI,1),LINETHICK2,COLORAAAAAA;T11:=BACKSET(ISLASTBAR,BARSLAST(DDD)+1);U11:=T11>REF(T11,1);支撑线:DRAWLINE(DDD,RSI,U11,RSI,1),LINETHICK2,COLOR0000AA; DRAWTEXT(CURRBARSCOUNT=30,25,'强弱关注黑色线 撑压划线知起落'),COLOR0099FF;DRAWTEXT(CURRBARSCOUNT=30,15,'海底火山将爆发 白雪皑皑当心顶'),COLOR0099FF;================{火山底选股}LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),15,1)/SMA(ABS(CLOSE-LC),15,1)*100;RSI<=30;

解答:

 FILLRGN(0,30,1,RGB(0,103,163),30,RGB(0,103,163));

FILLRGN(30,50,1,RGB(26,108,145),50,RGB(26,108,145));
FILLRGN(50,70,1,RGB(0,74,111),70,RGB(0,74,111));
FILLRGN(70,80,1,RGB(0,45,66),80,RGB(0,45,66));
DRAWTEXT(REF(DISPSTATUS=1,1),77,'秋'),COLOR0000FF,LINETHICK2;
DRAWTEXT(REF(DISPSTATUS=1,1),62,'夏'),COLORFF00FF,LINETHICK2;
DRAWTEXT(REF(DISPSTATUS=1,1),42,'春'),COLOR0066FF,LINETHICK2;
DRAWTEXT(REF(DISPSTATUS=1,1),18,'冬'),COLORYELLOW,LINETHICK2;
LC:=REF(CLOSE,1);
RSI:SMA(MAX(CLOSE-LC,0),15,1)/SMA(ABS(CLOSE-LC),15,1)*100,LINETHICK2,COLOR000000;
30,COLORYELLOW;
70,COLORMAGENTA;
STICKLINE(RSI<=30,RSI,30,10,0),COLOR0000BB;
STICKLINE(RSI>=70,RSI,70,10,0),COLORFFFFFF;
Q:=5;
AA:=REF(RSI,Q)=HHV(RSI,2*Q+1);
BB:=FILTER(AA,Q);
CC:=BACKSET(BB,Q+1);
DD:=FILTER(CC,Q);
AAA:=REF(RSI,Q)=LLV(RSI,2*Q+1);
BBB:=FILTER(AAA,Q);
CCC:=BACKSET(BBB,Q+1);
DDD:=FILTER(CCC,Q);
R11:=BACKSET(DISPSTATUS=2,BARSLAST(DD)+1); 
S11:=R11>REF(R11,1);
DD1:=BARSLAST(DD);
R12:=BACKSET(DISPSTATUS=2,REF(DD1,DD1+1)+DD1+2);
S12:=R12>REF(R12,1);
压力线:DRAWLINE(S12,RSI,S11,RSI,1),LINETHICK2,COLORAAAAAA;
T11:=BACKSET(DISPSTATUS=2,BARSLAST(DDD)+1);
U11:=T11>REF(T11,1);
DDD1:=BARSLAST(DDD);
T12:=BACKSET(DISPSTATUS=2,REF(DDD1,DDD1+1)+DDD1+2);
U12:=T12>REF(T12,1);
支撑线:DRAWLINE(U12,RSI,U11,RSI,1),LINETHICK2,COLOR0000AA;
DRAWTEXT(BARSLAST(DISPSTATUS=1)=10,25,'强弱关注黑色线 撑压划线知起落'),COLOR0099FF;
DRAWTEXT(BARSLAST(DISPSTATUS=1)=10,15,'海底火山将爆发 白雪皑皑当心顶'),COLOR0099FF;

选股票看什么指标最好 >股票指标网