三线开花
bb:=ref(date,BARSCOUNT©-1);
SS:=if(bb>1000000,bb+1000000,bb);
STICKLINE(C>O OR (C=O AND C>REF(C,1)),H,L,0.1,0),COLORRED;
STICKLINE(C>O OR (C=O AND C>REF(C,1)),O,C,7,1),COLORRED;
STICKLINE(C<O OR (C=O AND C<=REF(C,1)),H,L,0.1,0),COLORCYAN;
STICKLINE(C<O OR (C=O AND C<=REF(C,1)),O,C,7,0),COLORCYAN;
线1:(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,25))/3,COLORGREEN;
线2:(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,20)+MA(CLOSE,30)+MA(CLOSE,60)+MA(CLOSE,120))/6,COLORGREEN;
线3:(MA(CLOSE,20)+MA(CLOSE,60)+MA(CLOSE,120))/3,COLORGREEN,linethick2;
线4:=(MA(CLOSE,13)+MA(CLOSE,34)+MA(CLOSE,55))/3;
Stickline(线1>线4,线1,线4,0.1,1),ColorFF0080;
Stickline(线1<线4,线1,线4,0.1,1),COLORGREEN;
DRAWICON(CROSS(线1,线4),线1,1); |