{量价趋势买卖}
RAV:=(CLOSE-LLV(LOW,9));
RAV1:=(HHV(HIGH,9)-LLV(LOW,9));
RAV2:=RAV/RAV1;
RAV3 := (HIGH + LOW + CLOSE+REF(C,1)+O)/5;
RAV4:=RAV2*100;
RAV5:=SMA(RAV4,3,1);
RAV6:=SMA(RAV5,3,1);
RAV7:=SUM(IF(RAV3>REF(RAV3,1),RAV3*VOL,0),9)/SUM(IF(RAV3<REF(RAV3,1),RAV3*VOL,0),9);
资金趋势:=100-(100/(1+RAV7)),COLORFFF000;
价格趋势:=(3*RAV5-2*RAV6)*1.1;
中:60,COLORWHITE;
{卖:=FILTER(CROSS(资金趋势,价格趋势),3); } {过滤3日内连续出现的信号}
{买:=FILTER(CROSS(价格趋势,资金趋势),3);}
卖:=CROSS(资金趋势,价格趋势);
买:=CROSS(价格趋势,资金趋势);
DRAWICON(卖,中+30,8);
STICKLINE(卖,中,中+15,1,0),COLORGREEN;
DRAWICON(买 AND BETWEEN(资金趋势,20,80),中-25,7);
STICKLINE(买 AND BETWEEN(资金趋势,20,80),中,中-15,1,0),COLORRED;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)