大智慧搜福主图指标公式[大智慧公式]
大智慧搜福主图指标公式参数: {N:1,500,13; M:1,500,55,好像不用参数也可以}
源码:
[code]
RSV13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K13:=SMA(RSV13,3,1);
D13:=SMA(K13,3,1);
J13:=3*K13-2*D13;
RSV55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K55:=SMA(RSV55,3,1);
D55:=SMA(K55,3,1);
J55:=3*K55-2*D55;
YLW:IF(CROSS(J55,J13),HIGH,ref(HIGH,BARSLAST(CROSS(J55,J13)))),COLORRED;
ZCW:IF(CROSS(J13,J55),LOW,ref(LOW,BARSLAST(CROSS(J13,J55)))),COLORBLUE;VAR4:=(LOW+HIGH+CLOSE)/3;
CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
WARNING('',CURRENTTIME>180000 and CXH=5);
操作:MA(VAR4,5),LINETHICK1,COLORWHITE;
拉升:HHV(操作,13),COLORFFFF80,LINETHICK1;
{拉升2:HHV(操作,21),COLORFFFF80,LINETHICK1;}
压力:HHV(操作,60),COLORRED;
买卖:LLV(操作,13),LINETHICK1,COLOR00FF00; 现价线:C,COLORRED;
[/code] [attach]5840[/attach]
页:
[1]