{六彩神龙 版本一}
INPUT:N(30,1,100),M(10,1,100);
A01:=(C+O+L+H)/4;
A02:=(WINNER((A01*1.04))*100.0);
A03:=(WINNER((A01*0.96))*100.0);
A04:A03;
A08:A02-A03;
A06:(100.000-A02);
STICKLINE(1.0,0,A04,7,0),COLORRED;
STICKLINE(1.0,100.0,A02,7,0),COLORGREEN;
STICKLINE(1.0,A04,(100-A06),7,0),COLORYELLOW;
A0A:=(((((HHV(A04,15.0)-A03)/A03)*100.0)>N)AND(HHV(A04,15.0)>50.0));
STICKLINE(A0A,(0-2.0),2.0,4,0),COLORYELLOW;
STICKLINE(NOT(A0A),(0-2.0),2.0,4,0),COLORMAGENTA;
获利:MA(A03,M),COLORMAGENTA,LAYER1,LINETHICK2;
浮动:(MA(A02,M)-MA(A03,M)),LAYER1,COLORYELLOW,LINETHICK2;
{六彩神龙 版本二}
INPUT:变量00(5,1,30),变量01(30,1,100);
A02:=(WINNER((CLOSE*1.1))*100.0);
A03:=(WINNER((CLOSE*0.9))*100.0);
A04:=MA(A03,变量00);
STICKLINE(1.0,0,A04,7.45,0),colorred;
获利:MA(A03,变量00),colorred;
A06:=(100.0-MA(A02,变量00));
STICKLINE(1.0,100.0,MA(A02,变量00),7.45,0),colorgreen;
套牢:(100.0-MA(A02,变量00)),colorgreen;
A08:=(MA(A02,变量00)-MA(A03,变量00));
STICKLINE(1.000,A04,MA(A02,变量00),7.45,0),coloryellow;
浮动:(MA(A02,变量00)-MA(A03,变量00)),coloryellow;
A0A:=(((((HHV(A04,15.0)-A03)/A03)*100.0)>变量01)AND(HHV(A04,15.0)>50.0));
STICKLINE(A0A,(0-2.0),2.0,10.0,0);
STICKLINE(NOT(A0A),(0-2.0),2.0,10.0,0),colorblue;
{六彩神龙 版本三}
INPUT:变量00(5,1,30),变量01(30,1,100);
A02:=(WINNER((CLOSE*1.1))*100.0);
A03:=(WINNER((CLOSE*0.9))*100.0);
A04:=MA(A03,变量00);
STICKLINE(1.0,0,A04,1.0,0),colorred;
获利:MA(A03,变量00),colorred;
A06:=(100.0-MA(A02,变量00));
STICKLINE(1.000,100.0,MA(A02,变量00),1.0,0),colorgreen;
套牢:(100.0-MA(A02,变量00)),colorgreen;
A08:=(MA(A02,变量00)-MA(A03,变量00));
STICKLINE(1.0,A04,MA(A02,变量00),1.0,0),colorblue;
浮动:(MA(A02,变量00)-MA(A03,变量00)),coloryellow;
A0A:=(((((HHV(A04,15.0)-A03)/A03)*100.0)>变量01)AND(HHV(A04,15.0)>50.0));
STICKLINE(A0A,(0-2.0),2.0,10.0,0);
STICKLINE(NOT(A0A),(0-2.0),2.0,10.0,0),colorblue;