资源描述:
《【股票指标公式】-【大智慧】趋势线(行情线、趋势线、加仓、减仓)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【大智慧】趋势线(行情线.趋势线.加仓.减仓)-指标公式源码VARA:=(((CLOSE-EMA(CLOSE,13))/EMA(CLOSE,13))*(0-100));趋势线:EMA(((VARA/10)+EMA(CLOSE,10)),3);VARB:=(OPEN+HIGH+LOW)/3;VARC:二EMA(VARB,4);行情线:=VARC;BUY11-IF(CROSS(行情线,趋势线)OR(REF(行情线,1)二REF(趋势线,1)AND行情线〉趋势线),1,0);DRAWTEXT(CROSS(行情线,趋势线)OR(REF(行情线,1)二REF
2、(趋势线,1)线〉趋势线),L0W*0・98,',COLOROOOOFF;DRAWTEXT(CROSS(行情线,趋势线)OR(REF(行情线,1)=REF(趋势线,1)线〉趋势线),LOW*O.975,'
3、,COLOROOOOFF;DRAWTEXT(CROSS(行情线,趋势线)OR(REF(行情线,1)二REF(趋势线,1)线〉趋势线),LOW*O.975,'
4、
5、'),COLOROOOOFF;DRAWTEXT(CROSS(行情线,趋势线)OR(REF(行情线,1)二REF(趋势线,1)线〉趋势线),LOW*O.97/T),COLOROOOOFF;D
6、RAWTEXT(CROSS(行情线,趋势线)OR(REF(行情线,1)=REF(趋势线,1)线〉趋势线),LOW*O.97/ID,COLOROOOOFF;DRAWTEXT(CROSS(行情线,趋势线)OR(REF(行情线,1)二REF(趋势线,1)线〉趋势线),L0W*0・965,'丨’),COLOROOOOFF;DRAWTEXT(CROSS(行情线,趋势线)OR(REF(行情线,1)=REF(趋势线,1)线〉趋势线),LOW*O.965,'ll'),COLOROOOOFF;DRAWTEXT(CROSS(趋势线,行情线)OR(REF(行情线,1)二
7、REF(趋势线,1)线〈趋势线),HIGH*1.02,'▼'),COLOROOFFOO;DRAWTEXT(CROSS(趋势线,行情线)OR(REF(行情线,1)二REF(趋势线,1)线〈趋势线),HIGH*1.025,JT),COLOROOFFOO;DRAWTEXT(CROSS(趋势线,行情线)OR(REF(行情线,1)=REF(趋势线,1)线〈趋势线),HIGH*1.025,'II'),COLOROOFFOO;DRAWTEXT(CROSS(趋势线,行情线)OR(REF(行情线,1)二REF(趋势线,1)线〈趋势线),HIGH*1.03/T),CO
8、LOROOFFOO;DRAWTEXT(CROSS(趋势线,行情线)OR(REF(行情线,1)=REF(趋势线,1)线〈趋势线),HIGH*1.03,'II'),COLOROOFFOO;ANDANDANDANDANDANDANDANDANDANDANDAND行情行情行情行情行情行情行情行情行情行情行情行情DRAWTEXT(CROSS(趋势线,行情线)OR(REF(行情线,1)=REF(趋势线,1)AND行情线〈趋势线),HIGH*1.035,JT),COLOROOFFOO;DRAWTEXT(CROSS(趋势线,行情线)OR(REF(行情线,1)二RE
9、F(趋势线,1)AND行情线〈趋势线),HIGH*1.035,'II'),COLOROOFFOO;FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);FA:=1F(CROSS(FF,MA15),1,0);TR:二MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));ATR:=MA(TR,14);AA:=(HHV(HTGH,20)-(2*ATR));BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1));SSS:二CROSS(MIN(
10、MA(CLOSE,13),AA),CLOSE);BBB:=BARSLAST(BB);SSSB:=BARSLAST(SSS);B1:=((BBB二0)AND(REF(SSSB,1)[0))AND(COUNT(BB,SSSB)<3));B2B:=BARSLAST(B2);B3:=((((BB二1)AND(B2B2));DRAWTE]
11、XT((B1=1AND行情线>二趋势线ANDBUY11=0)OR(B2=lAND行情线>二趋势线ANDBUY11=O),L