主图预测价咯,昨天发的一个大智慧公式,试一试改通达信的 {主图预测价咯}
最高:HHV(H,30),NODRAW;
最低:LLV(L, 30),NODRAW;
VAR1:=最高/最低;
VAR2:=SQRT(VAR1);
VAR3:=SQRT(VAR2);
VAR4:=最高/VAR3;
VAR5:=最高/最低;
VAR6:=SQRT(VAR5);
VAR7:=最高/VAR6;
VAR8:=最高/最低;
VAR9:=SQRT(VAR8);
VAR10:=SQRT(VAR9);
VAR11:=VAR9+VAR10-1;
VAR12:=最高/VAR11;
{分析家公式网fxjgsw.com}
预测上点:CONST(VAR4),NODRAW;
预测中点:CONST(VAR7),NODRAW;
预测下点:CONST(VAR12),NODRAW;
STICKLINE(CURRBARSCOUNT<=最高,预测上点,预测上点,5,0),COLORWHITE,LINETHICK2;
STICKLINE(CURRBARSCOUNT<=最高,预测中点,预测中点,5,0),COLORWHITE,LINETHICK2;
STICKLINE(CURRBARSCOUNT<=最高,预测下点,预测下点,5,0),COLORWHITE,LINETHICK2;
DRAWTEXT(BARSTATUS=2,预测上点,'预测上点: '+CON2STR(预测上点,2)+'元'),LINETHICK3,COLORFFAA00;
DRAWTEXT(BARSTATUS=2,预测中点,'预测中点: '+CON2STR(预测中点,2)+'元'),LINETHICK3,COLORFFAA00;
DRAWTEXT(BARSTATUS=2,预测下点,'预测下点: '+CON2STR(预测下点,2)+'元'),LINETHICK3,COLORFFAA00; |
