大智慧战狐1主图指标
源码
{战狐1}{主图}
{P1:0,999,5;P2:0,999,10;P3:0,999,15;P4:0,999,20;P5:0,999,30;P6:0,999,60;}
input:P1(5,0,999),P2(10,0,999),P3(15),P4(20,0,999),P5(30),P6(60);
STICKLINE((CLOSE>=OPEN),OPEN,CLOSE,5,1),CoLor0000FF;
STICKLINE((OPEN>CLOSE),CLOSE,OPEN,5,0),CoLorAFEEEE;
STICKLINE((CLOSE>=OPEN),CLOSE,HIGH,0.5,0),CoLor0000FF;
STICKLINE((CLOSE>=OPEN),OPEN,LOW,0.5,0),CoLor0000FF;
STICKLINE((OPEN>CLOSE),CLOSE,LOW,0.5,0),CoLorAFEEEE;
STICKLINE((OPEN>CLOSE),OPEN,HIGH,0.5,0),CoLorAFEEEE;
A1:=EMA(CLOSE,1);
A2:=EMA(CLOSE,3);
DRAWTEXT((A1>A2),LOW,'▲'),CoLor0000FF;
DRAWTEXT((A1<A2),HIGH,'★'),CoLorgreen;
MA1:MA(CLOSE,P1),CoLor00FFFF;
MA2:MA(CLOSE,P2),CoLorFF00FF;
MA3:MA(CLOSE,P3),CoLor00FF00;
MA4:MA(CLOSE,P4),CoLorFFFFFF;
MA5:MA(CLOSE,P5),CoLorFFFF00;
MA6:MA(CLOSE,P6),CoLor0000FF;