飞狐组合优化后的三线副图(源码)
-
相关简介:三个公式进行组合优化,感觉不错, {主升浪副图}DRAWGBK(DATE900101,COLORRGB(95,95,95),COLORRGB(0,0,0),1); 获利修正:WINNER(C*0.99)*100-V/CAPITAL*100,COLORRED,LINETHICK2; VAR1:=HHV(HIGH,10)-LLV(LOW,10); VAR2:=HHV(HIGH,10)-CLOSE; VAR3:=CLOSE-LLV(LOW,10); VAR4:=VAR2/VAR1*100-70; VA
-
文章来源:股海网作者:股海网发布时间:2014-11-27浏览次数:
三个公式进行组合优化,感觉不错,
{主升浪副图}DRAWGBK(DATE>900101,COLORRGB(95,95,95),COLORRGB(0,0,0),1);
获利修正:WINNER(C*0.99)*100-V/CAPITAL*100,COLORRED,LINETHICK2;
VAR1:=HHV(HIGH,10)-LLV(LOW,10);
VAR2:=HHV(HIGH,10)-CLOSE;
VAR3:=CLOSE-LLV(LOW,10);
VAR4:=VAR2/VAR1*100-70;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60));
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=SMA(VAR3/VAR1*100,3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:=IF(VAR9>100,VAR9-100,0);
VAR11:=HHV(HIGH,34);
VAR12:=EMA((VAR6-VAR8)/(VAR11-VAR8)*100,10);
VAR13:=EMA(0.667*REF(VAR12,1)+0.333*VAR12,3);
趋势:VAR13,COLOR77AAFF,linethick2;;
TJZB1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),Color0080FF;
TJZB2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),Color00FFFF;
TJZB4:100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),LINETHICK2,Color008000;
强弱分界:50,LINEDOT;地线:20,LINEDOT;天线:80,LINEDOT;