编写条件:
编写方法:
网友求助:
要求:一个任意个股和大盘的k线同图比较的指标,可以对个股的强弱一目了然的方法
解答如下:
KLINE(INDEXO,INDEXH,INDEXL,INDEXC,1);
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLOR999900;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLORbbbb00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORdddd00;
STICKLINE(OPEN>=CLOSE ,HIGH,LOW,1 ,0 ),COLORffff00;
STICKLINE(CLOSE>OPEN ,CLOSE,OPEN,7,0) ,COLOR000099;
STICKLINE(CLOSE>OPEN ,CLOSE,OPEN,5,0) ,COLOR0000bb;
STICKLINE(CLOSE>OPEN ,CLOSE,OPEN,3,0) ,COLOR0000dd;
STICKLINE(CLOSE>OPEN ,HIGH,LOW,1,0 ),COLOR0000FF;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLOR999900;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLORbbbb00;
STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORdddd00;
STICKLINE(OPEN>=CLOSE ,HIGH,LOW,1 ,0 ),COLORffff00;
STICKLINE(CLOSE>OPEN ,CLOSE,OPEN,7,0) ,COLOR000099;
STICKLINE(CLOSE>OPEN ,CLOSE,OPEN,5,0) ,COLOR0000bb;
STICKLINE(CLOSE>OPEN ,CLOSE,OPEN,3,0) ,COLOR0000dd;
STICKLINE(CLOSE>OPEN ,HIGH,LOW,1,0 ),COLOR0000FF;