声明,此乃转帖,有不同异议的请教高手
大智慧L2] 大智慧主图
纯属一种爱好才编写了这么一个主图,但我自己用来还不错,现将本主图的一些用法让大家也学习一下。
一:我来说说K线中有两个图形;1,半红半绿是走势反转信号,多数时间是可以买入的。2,半蓝半绿也是反转信号,只是它是卖出信号。说明一下,这两个图形只是用来做短线或超短线,或用来抄底。
二:趋势,图形中有彩带做趋势,相信大家看过图形后就明白什么样的填充色是上升通道,什么样的是下跌通道。
好了不多说了多看看就懂了,下面我把原主图原码发在上面.
{冬阳季线系统}
MA3:=MA(C,3);
MA4:=MA(C,4);
MA5:MA(C,5),LINETHICK1,COLORYELLOW;
MA20:MA(C,20),LINETHICK2,COLOR007733;
MA40:MA(C,40),LINETHICK2,COLOR0055ff;
MA60:MA(C,60),LINETHICK3,COLOR00ff00;
FILLRGN(MA3,MA4,MA3>MA4,(RGB(100,0,100)));
FILLRGN(MA3,MA4,MA3<MA4,(RGB(0,150,250)));
FILLRGN(MA5,MA4,MA4>MA5,(RGB(150,150,0)));
FILLRGN(MA5,MA4,MA4<MA5,(RGB(150,150,150)));
STICKLINE(CLOSE>=OPEN ,OPEN,CLOSE,7,0),COLOR000033;
STICKLINE(CLOSE>=OPEN ,OPEN,CLOSE,6,0),COLOR000055;
STICKLINE(CLOSE>=OPEN ,OPEN,CLOSE,5,0),COLOR000066;
STICKLINE(CLOSE>=OPEN ,OPEN,CLOSE,4,0),COLOR000077;
STICKLINE(CLOSE>=OPEN ,OPEN,CLOSE,3,0),COLOR000099;
STICKLINE(CLOSE>=OPEN ,OPEN,CLOSE,2,0),COLOR0000BB;
STICKLINE(CLOSE>=OPEN ,OPEN,CLOSE,1,0),COLOR0000DD;
STICKLINE(CLOSE>=OPEN ,LOW,H,0.5,0),COLOR0000DD;{收阳}
STICKLINE(CLOSE<OPEN ,OPEN,CLOSE,7,0),COLOR003300;
STICKLINE(CLOSE<OPEN ,OPEN,CLOSE,6,0),COLOR005500;
STICKLINE(CLOSE<OPEN ,OPEN,CLOSE,5,0),COLOR007700;
STICKLINE(CLOSE<OPEN ,OPEN,CLOSE,4,0),COLOR008800;
STICKLINE(CLOSE<OPEN ,OPEN,CLOSE,3,0),COLOR009900;
STICKLINE(CLOSE<OPEN ,OPEN,CLOSE,2,0),COLOR00BB00;
STICKLINE(CLOSE<OPEN ,OPEN,CLOSE,1,0),COLOR00DD00;
STICKLINE(CLOSE<OPEN ,LOW,H,0.5,0),COLOR00DD00;{收阴}
VARDQ:=((REF(CLOSE,1)=HHV(CLOSE,4)) AND (CLOSE<REF(CLOSE,2)) or ((REF(CLOSE,2)=HHV(CLOSE,4)) AND (REF(CLOSE,1)>REF(CLOSE,3)) or (REF(CLOSE,3)=HHV(CLOSE,4)) AND (REF(CLOSE,1)>REF(CLOSE,2))) AND (REF(CLOSE,2)>=REF(CLOSE,4)) AND (CLOSE<REF(CLOSE,1)));
STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/(2),7,0),CoLorFF1100;
STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/(2),6,0),CoLorFF3300;
STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/(2),5,0),CoLorFF5500;
STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/(2),4,0),CoLorFF7700;
STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/(2),3,0),CoLorFF9900;
STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/(2),2,0),CoLorFFBB00;
STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/(2),1,0),CoLorFFDD00;
VARCQ:=((REF(CLOSE,1)=LLV(CLOSE,4)) AND (CLOSE>=REF(CLOSE,2)) or (REF(CLOSE,2)=LLV(CLOSE,4)) AND (REF(CLOSE,1)<=REF(CLOSE,3)) AND (REF(CLOSE,2)<REF(CLOSE,4)) AND (CLOSE>=REF(CLOSE,1)));
STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/(2),7,0),CoLor003300;
STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/(2),6,0),CoLor005500;
STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/(2),5,0),CoLor007700;
STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/(2),4,0),CoLor009900;
STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/(2),3,0),CoLor00BB00;
STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/(2),2,0),CoLor00DD00;
STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/(2),1,0),CoLor00FF00;
|