{//弱势描述}
苦难众生:EMA((1-WINNER(C)),13)*10,Color008800;
FILLRGN(0,苦难众生,苦难众生>0),color003300;
否极泰来:苦难众生>9,color00ff00,linethick0;
STICKLINE(否极泰来,苦难众生*1.02,苦难众生*0.98,10,0),color00ff00;
STICKLINE(否极泰来,苦难众生*0.98,苦难众生*0.93,4,0),color009933;
{//长线波动与短线波动的描述}
半年相对价位:=(C-LLV(L,120))/(HHV(H,120)-LLV(L,120))*10;
K:=SMA(半年相对价位,5,1);
虔心向佛:K>MA(K,8),ColorFF4D91,linethick0;
半月相对价位:=(C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*10;
半月相对价位M:=SMA(半月相对价位,3,2);
半月相对价位MM:=SMA(半月相对价位M,10,6);
K13:=ma(半月相对价位MM,3);
D13:=sma(K13,3,1);
{//福缘信息组合}
福缘:半月相对价位MM>=K13,COLORRED,linethick0;
结福缘:K13>REF(K13,1),color2299aa,linethick0;
PARTLINE(D13,结福缘),color2299aa,linethick2;
缘尽:NOT(福缘),COLORWHITE,linethick0;
观音点化:COUNT(结福缘,2)=1 AND 福缘,Coloryellow,linethick0;
{//强势描述}
RSV:=(HHV(H,120)-c)/(HHV(H,120)-LLV(L,120))*10;
K1:=SMA(RSV,3,1);
K2:=SMA(RSV,8,1);
K3:=SMA(RSV,16,1);
彩云:=if(k1+7>10,10,k1+7);
羽化:彩云<10,Color007FFF,linethick0;
FILLRGN(10,彩云,羽化),Color007FFF;
祥云:=if(K2+7.5>10,10,K2+7.5);飞升:祥云<10,Color0000FF,linethick0;
FILLRGN(10,祥云,飞升),Color0000FF;瑞云:=if(K3+8.5>10,10,K3+8.5);
成仙:瑞云<10,Color00FFFF,linethick0;FILLRGN(10,瑞云,成仙),Color00FFFF;
{//画图}
FILLRGN(K,MA(K,8),虔心向佛),ColorFF4D91;
FILLRGN(K,MA(K,8),K<MA(K,8)),ColorFFB9FF;
fillrgn(K13,半月相对价位MM,福缘),COLORRED;
fillrgn(K13,半月相对价位MM,缘尽),COLORWHITE;
DRAWICON(观音点化,半月相对价位MM,12);
{DRAWNUMBER(观音点化,D13*0.9,c,2),COLORwhite,;};
202108211320.jpg
|