源码如下:
{前程快马}{副图}
VAR1:=(VOL)/((HIGH-LOW)*(2)-ABS(CLOSE-OPEN));
VAR2:=IF((YEAR>=2007) AND (MONTH>=11),0,1);
前程:(EMA((WINNER(CLOSE))*(100),5))*(VAR2),CoLor0000FF;
锦绣:EMA((WINNER((CLOSE)*(1.1))-WINNER((CLOSE)*(0.9)))*(100),5),CoLor00FFFF;
底线:SMA(LOW,3,1),CoLorFF0000;
买盘:=IF((CLOSE>OPEN),(VAR1)*(HIGH-LOW),IF((CLOSE<OPEN),(VAR1)*(HIGH-OPEN+CLOSE-LOW),(VOL)/(2)));
卖盘:=IF((CLOSE>OPEN),0-(VAR1)*(HIGH-CLOSE+OPEN-LOW),IF((CLOSE<OPEN),0-(VAR1)*(HIGH-LOW),0-(VOL)/(2)));
买卖比3:=(SUM(买盘,3))/(SUM((-卖盘),3));
买卖比:=(SUM(买盘,1))/(SUM((-卖盘),1));
卖出:(CROSS(锦绣,前程))*(10),CoLorFFFFFF;
买入:(((CROSS(前程,锦绣))*(买卖比3)>1.88))*(20),CoLorFFFF00;
短买:=CROSS(买卖比,买卖比3) AND (前程-REF(前程,1)>=3.18);
快马:((((买入)*(短买))*((前程<80)))*((锦绣-REF(锦绣,1)<2.33)))*(2),CoLor0000FF;
买入底:(((CROSS(前程,底线))*(买卖比3)>0.88))*(20),CoLor008000;
MRSJ:=BARSLAST(快马);
涨:(((CLOSE)/(REF(CLOSE,MRSJ))-1)*(100))*((MRSJ<=20)),CoLorFF0000;
主力痕迹:(买卖比3)*(5),CoLor00FF00;
{------------------ ------------------} {股票公式网http://www.58188.com整理}
|
|
|
|
|