资源描述:
《《狼巡成本均线》doc版》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、狼巡成本均线(日线主图指标)源码如下:AA:=(SUM(CLOSE*AMOUNT,360)/SUM(AMOUNT,360));A1:=(SUM(CLOSE*AMOUNT,300)/SUM(AMOUNT,300));A2:=(SUM(CLOSE*AMOUNT,240)/SUM(AMOUNT,240));A3:=(SUM(CLOSE*AMOUNT,180)/SUM(AMOUNT,180));A4:=(SUM(CLOSE*AMOUNT,120)/SUM(AMOUNT,120));A5:=(SUM(CLOSE*AMOUN
2、T,90)/SUM(AMOUNT,90));A6:=(SUM(CLOSE*AMOUNT,60)/SUM(AMOUNT,60));A7:=(SUM(CLOSE*AMOUNT,30)/SUM(AMOUNT,30));B1:(A1+A2+A3)/3;B2:(A3+A4+A5)/3;B3:(A6+A7+A5)/3;B4:(AA+A1)/2,LINETHICK2; 狼巡成本均线(改良版日线主图指标)源码如下:RSV:=(HIGH+LOW+OPEN+CLOSE)/4;A1:=(SUM(RSV*AMOUNT,360)/SUM(
3、AMOUNT,360));A2:=(SUM(RSV*AMOUNT,350)/SUM(AMOUNT,350));A3:=(SUM(RSV*AMOUNT,340)/SUM(AMOUNT,340));A4:=(SUM(RSV*AMOUNT,330)/SUM(AMOUNT,330));A5:=(SUM(RSV*AMOUNT,320)/SUM(AMOUNT,320));A6:=(SUM(RSV*AMOUNT,310)/SUM(AMOUNT,310));A7:=(SUM(RSV*AMOUNT,300)/SUM(AMOUNT,
4、300));A8:=(SUM(RSV*AMOUNT,270)/SUM(AMOUNT,270));A9:=(SUM(RSV*AMOUNT,260)/SUM(AMOUNT,260));A10:=(SUM(RSV*AMOUNT,250)/SUM(AMOUNT,250));A11:=(SUM(RSV*AMOUNT,240)/SUM(AMOUNT,240));A12:=(SUM(RSV*AMOUNT,230)/SUM(AMOUNT,230));A13:=(SUM(RSV*AMOUNT,220)/SUM(AMOUNT,220
5、));A14:=(SUM(RSV*AMOUNT,210)/SUM(AMOUNT,210));A15:=(SUM(RSV*AMOUNT,180)/SUM(AMOUNT,180));A16:=(SUM(RSV*AMOUNT,170)/SUM(AMOUNT,170));A17:=(SUM(RSV*AMOUNT,160)/SUM(AMOUNT,160));A18:=(SUM(RSV*AMOUNT,150)/SUM(AMOUNT,150));A19:=(SUM(RSV*AMOUNT,140)/SUM(AMOUNT,140)
6、);A20:=(SUM(RSV*AMOUNT,130)/SUM(AMOUNT,130));A21:=(SUM(RSV*AMOUNT,120)/SUM(AMOUNT,120));A22:=(SUM(RSV*AMOUNT,90)/SUM(AMOUNT,90));A23:=(SUM(RSV*AMOUNT,80)/SUM(AMOUNT,80));A24:=(SUM(RSV*AMOUNT,70)/SUM(AMOUNT,70));A25:=(SUM(RSV*AMOUNT,60)/SUM(AMOUNT,60));A26:=(S
7、UM(RSV*AMOUNT,50)/SUM(AMOUNT,50));A27:=(SUM(RSV*AMOUNT,40)/SUM(AMOUNT,40));A28:=(SUM(RSV*AMOUNT,30)/SUM(AMOUNT,30));B1:(A1+A2+A3+A4+A5+A6+A7)/7,LINETHICK2;B2:(A8+A9+A10+A11+A12+A13+A14)/7;B3:(A15+A16+A17+A18+A19+A20+A21)/7;B4:(A22+A23+A24+A25+A26+A27+A28)/7;狼
8、巡成本MA(日线主图)源码如下:MA1:MA(CLOSE,5);MA2:MA(CLOSE,10);MA3:MA(CLOSE,20);MA4:MA(CLOSE,30);AA:=(SUM(CLOSE*AMOUNT,360)/SUM(AMOUNT,360));A1:=(SUM(CLOSE*AMOUNT,300)/SUM(AMOUNT,300));A2:=(SUM(CLOSE*A