软件名称:[B]要中线公式 源码[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2013-02-26 03:13:53
软件简介:
要中线 N:=8;M1:=5;M2:=4; VAR1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; VAR2:=SMA(VAR1,M1,1); VAR3:=SMA(VAR2,M2,1); VAR4:=3*VAR2-2*VAR3; VAR5:=LLV(LOW,33); VAR6:=HHV(HIGH,21); VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,20)*0.998; VAR8:=SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,4,1); VAR9:=SMA((CLOSE-LLV(LOW,11))/(HHV(HIGH,11)-LLV(LOW,11))*100,4,1); VARA:=SMA((CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100,4,1); VARB:=SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100,4,1); VARC:=SMA((CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100,4,1); VARD:=SMA((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100,4,1); VARE:=SMA(VARD*2,3,1); VARF:=(SMA(VARD*2,3,1)+SMA(VARC*2,3,1))/2; VAR10:=(HIGH+LOW+CLOSE)/3; VAR11:=(VAR10-MA(VAR10,14))/(0.015*AVEDEV(VAR10,14)); VAR12:=(VAR10-MA(VAR10,70))/(0.015*AVEDEV(VAR10,70)); VAR13:=IF(VAR11>=150 AND VAR11<200 AND VAR12>=150 AND VAR12<200,-10,0); VAR14:=IF(VAR11<=-150 AND VAR11>-200 AND VAR12<=-150 AND VAR12>-200,10,0); VAR15:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; VAR16:=100-ABS(VAR15); VAR17:=IF(BARSCOUNT(CLOSE)<13,97,IF(VAR16<88 AND VAR15>0,VAR4,97)); VAR18:=IF(BARSCOUNT(CLOSE)<13,3,IF(VAR16<92 AND VAR15<0,VAR4,3)); VAR19:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,10,1)-2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,10,1),6,1); 注意: VAR17,COLORWHITE; 观察: MA(3*VAR2-2*VAR3,3),COLORYELLOW; 中线: VAR19, CIRCLEDOT,COLORF00FF0; VAR1A:=EMA(HHV(HIGH,500),21); VAR2A:=EMA(HHV(HIGH,250),21); VAR3A:=EMA(HHV(HIGH,90),21); VAR4A:=EMA(LLV(LOW,500),21); VAR5A:=EMA(LLV(LOW,250),21); VAR6A:=EMA(LLV(LOW,90),21); VAR7A:=EMA((VAR4A*0.96+VAR5A*0.96+VAR6A*0.96+VAR1A*0.558+VAR2A*0.558+VAR3A*0.558)/6,21); VAR8A:=EMA((VAR4A*1.25+VAR5A*1.23+VAR6A*1.2+VAR1A*0.55+VAR2A*0.55+VAR3A*0.65)/6,21); VAR9A:=EMA((VAR4A*1.3+VAR5A*1.3+VAR6A*1.3+VAR1A*0.68+VAR2A*0.68+VAR3A*0.68)/6,21); VARAA:=EMA((VAR7A*3+VAR8A*2+VAR9A)/6*1.738,21); VARBA:=REF(LOW,1); VARCA:=SMA(ABS(LOW-VARBA),3,1)/SMA(MAX(LOW-VARBA,0),3,1)*100; VARDA:=EMA(IF(CLOSE*1.35<=VARAA,VARCA*10,VARCA/10),3); VAREA:=LLV(LOW,30); VARFA:=HHV(VARDA,30); VAR10A:=IF(MA(CLOSE,58),1,0); 有动作:EMA(IF(LOW<=VAREA,(VARDA+VARFA*2)/2,0),3)/618*VAR10A,COLORRED; VARLL:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); 要动了: EMA(VARLL,3); 来了: IF(要动了<5,45,0);
[url=http://www.70822.com/soft/sort013/sort05/down-59105.html]要中线公式 源码[/url]