九毛八公式指标
我有2个请求。一是请哪位老师可以把通达信的机构买卖指标改成大智慧的指标。二是否可以把这个“抄底”做成通达信的预警。谢谢。 A1:=(VOL/CLOSE)/3; {A222:=IF(A1>0.29 AND CLOSE>REF(CLOSE,1),A1,0);} {A22:=SUM(A222,0);} A2:=SUM((IF(((A1>0.20) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0); A3:=SUM((IF(((A1>0.20) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0); A4:=SUM((IF(((A1<0.29) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0); A5:=SUM((IF(((A1<0.29) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0); A6:=((A2+A3)+A4)+A5; A7:=IF((ISLASTBAR=1),((100*A2)/A6),0); A8:=((IF((ISLASTBAR=1),((100*A3)/A6),0))); A9:=((IF((ISLASTBAR=1),((100*A4)/A6),0))); A10:=((IF((ISLASTBAR=1),((100*A5)/A6),0))); 机构买盘红:(A2),LINETHICK3,COLORRED; 机构卖盘绿:(A3),LINETHICK3,COLORGREEN; 散户买盘黄:(A4),COLORYELLOW; 散户卖盘蓝:(A5),COLORBLUE; 预警界线:10.0; DRAWTEXT(ISLASTBAR=1,机构买盘红*0.9,'机构买盘'),LINETHICK2,COLORRED; DRAWTEXT(ISLASTBAR=1,机构卖盘绿,'机构卖盘'),LINETHICK2,COLORBROWN; DRAWTEXT(ISLASTBAR=1,散户买盘黄,'散户买盘'),LINETHICK2,COLORLIGREEN; DRAWTEXT(ISLASTBAR=1,散户卖盘蓝,'散户卖盘'),LINETHICK2,COLORBLUE; 买卖差额:(机构买盘红-机构卖盘绿)>0.5,LINETHICK6,COLORWHITE; 抄底:IF(CROSS(A2,A3),10,0),LINETHICK3,COLORMAGENTA;
公式模块:
大智慧
A1:=(vol/CLOSE)/3;
A2:=SUM((IF(((A1>0.20) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);
A3:=SUM((IF(((A1>0.20) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);
A4:=SUM((IF(((A1<0.29) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);
A5:=SUM((IF(((A1<0.29) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);
A6:=((A2+A3)+A4)+A5;
A7:=IF((BARSTATUS=2),((100*A2)/A6),0);
A8:=((IF((BARSTATUS=2),((100*A3)/A6),0)));
A9:=((IF((BARSTATUS=2),((100*A4)/A6),0)));
A10:=((IF((BARSTATUS=2),((100*A5)/A6),0)));
机构买盘红:(A2),LINETHICK3,COLORRED;
机构卖盘绿:(A3),LINETHICK3,COLORGREEN;
散户买盘黄:(A4),COLORYELLOW;
散户卖盘蓝:(A5),COLORBLUE;
预警界线:10.0;
DRAWTEXT(BARSTATUS=2,机构买盘红*0.9,'机构买盘'),LINETHICK2,COLORRED;
DRAWTEXT(BARSTATUS=2,机构卖盘绿,'机构卖盘'),LINETHICK2,COLORBROWN;
DRAWTEXT(BARSTATUS=2,散户买盘黄,'散户买盘'),LINETHICK2,COLORGREEN;
DRAWTEXT(BARSTATUS=2,散户卖盘蓝,'散户卖盘'),LINETHICK2,COLORBLUE;
买卖差额:(机构买盘红-机构卖盘绿)>0.5,LINETHICK6,COLORWHITE;
抄底:IF(crOSS(A2,A3),10,0),LINETHICK3,COLORMAGENTA;
-----------------------------------------------------
A1:=(VOL/CLOSE)/3;
A2:=SUM((IF(((A1>0.20) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0);
A3:=SUM((IF(((A1>0.20) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0);
抄底:CROSS(A2,A3);