SKD与下面的公式做在一个副图里
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

SKD如何与下面的公式做在一个副图里?要求:两个公式都不变形。{SKD}VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;VAR2:=LLV(LOW,34);VAR3:=HHV(HIGH,34);SK:EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13);SD:EMA(SK,3);DRAWBAND(SK,RGB(250,0,0),SD,RGB(0,250,0));{理想}VAR4:=C-REF(C,1);VAR5:=O-REF(O,10);VAR6:=H-REF(H,1);VAR7:=L-REF(L,1);VAR8:=(VAR4+VAR5*2+VAR6+VAR7)/5;理想:=MA(VAR8,3)/100,LINETHICK0;STICKLINE(理想>0,理想,0,1.8,0), COLORRED;STICKLINE(理想<0,理想,0,1.8,0) ,COLORBLUE;

解答:

 {SKD}

VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
VAR2:=LLV(LOW,34);
VAR3:=HHV(HIGH,34);
SK:EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13);
SD:EMA(SK,3);
DRAWBAND(SK,RGB(250,0,0),SD,RGB(0,250,0));
{理想}
VAR4:=C-REF(C,1);
VAR5:=O-REF(O,10);
VAR6:=H-REF(H,1);
VAR7:=L-REF(L,1);
VAR8:=(VAR4+VAR5*2+VAR6+VAR7)/5;
理想:=MA(VAR5,3)/100,LINETHICK0;
STICKLINE(理想>0,理想,0,1.8,0), COLORRED;
STICKLINE(理想<0,理想,0,1.8,0) ,COLORBLUE;
 
LOWV:=LLV(LOW,9);
HIGHV:=HHV(HIGH,9);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
K:EMA(RSV,3);
D:MA(K,3);

选股票看什么指标最好 >股票指标网