以下是大智慧波段彩云公式主图源码测试图(无源码的请下载附件导入)
{波段彩云}
AE:=EMA(CLOSE,5);
BE:=MA(CLOSE,20);
红多:STICKLINE(AE>BE,AE,BE,2.5,0),colorRED;
绿空:STICKLINE(AE<BE,AE,BE,2.5,1),Color00FF00;
Vs01:=(CLOSE+HIGH+LOW)/3;
Vs02:=EMA(Vs01,10);
Vs03:=REF(Vs02,1);
彩带:Vs02,ColorWHITE,linethick0,PRECIS0;
STICKLINE(AE>BE and (AE-BE)>ref((AE-BE),1),AE,BE,3.0,1),colorRED;
STICKLINE(AE<BE and (BE-AE)>ref((BE-AE),1),AE,BE,2.5,1),Color00FF00;
STICKLINE(Vs02>Vs03,Vs02,Vs03,3,1),ColorWHITE;
STICKLINE(Vs02<Vs03,Vs02,Vs03,3,1),Color970000;
FILLRGN(AE,BE,AE>BE),ColorACACFF,PRECIS2;
FILLRGN(AE,BE,AE<BE),Color7C8639,PRECIS2;
FILLRGN(Vs02,Vs03,(Vs02>Vs03)),ColorWHITE,PRECIS0;
FILLRGN(Vs03,Vs02,(Vs02<Vs03)),Color970000,PRECIS0;
1611477585.jpg
1611555753.jpg
|