有錢也買不到的通達信——底部奇準選股指標公式 完整源碼: 底部奇準:=MA(CLOSE,1); 選股指標公式:=(LOW+HIGH+CLOSE)/3; vvv1:= MA(選股指標公式,5); vvv2:= HHV(vvv1,10); 有錢也買不到:IF(HHV((底部奇準<vvv2),5),50,10),COLORFF6699; STICKLINE(有錢也買不到=10,50,10,1,1),COLORFF6699; ggge1:IF(HHV((底部奇準<vvv2),10),50,20),COLORGREEN; STICKLINE(ggge1=20,50,20,1,0),COLORGREEN; TTR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5); HD:=(HIGH - REF(HIGH,1)); LD:=(REF(LOW,1) - LOW); ggge2:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) ); ggge3:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5); ggge4:=(((ggge2 ) * 100) / TTR); ggge5:=((ggge3 * 100) / TTR); XXX:=(MA(((ABS((ggge5 - ggge4)) / (ggge5 + ggge4)) * 100),3)); vvv1vvv2:= MA(選股指標公式,5); ggge6:=LLV(vvv1vvv2,10); ggge7:IF(((XXX > 88) AND (ggge4 < 5.8)),95,50),LINETHICK1,COLORYELLOW; STICKLINE(ggge7=95,50,95,1.5,0),COLORYELLOW,LINETHICK1; ggge8:IF(LLV((底部奇準<ggge6),5),75,50),COLORRED,LINETHICK1; STICKLINE(ggge8=75,50,75,1.5,0),COLORRED,LINETHICK1; ggge9:IF(LLV((底部奇準<ggge6),10),85,50),COLORRED,LINETHICK1; STICKLINE(ggge9=85,50,85,1.5,0),COLORRED,LINETHICK1; ADXR:=((XXX + REF(XXX,3)) / 2); wwww1:=MA(LOW,1); wwww2:=MA(HIGH,2); wwww3:=MA(CLOSE,2); wwww7:=REF(wwww3,1); ggge0:XXX,LINETHICK2,COLORFFAA66; |
|