资源描述:
《【精品】【股票指标公式下载】-【大智慧】趋势主图(阻力、支撑)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【大智慧】趋势主图(阻力、支撑厂指标公式源码input:k(2,0,2),n(10,1,255),pl(3,1,255);var9Q:=c=hhv(c,4)and(ref(c,1)>=rcf(c,2)orref(c,1)>=ref(c,3))orref(c,1)=hhv(c,4)andclose>=ref(c,2)orref(c,2)二hhv(c,4)andref(c,3)=llv(c,4)andc>=ref(c,1)orref(c,3)=hhv(c,4)andc>=ref(c,1)andc>=ref(c,2);红持:var9Q,colorOOOOff,LINETHI
2、CKO;varaQ:=c=hhv(c,4)andref(c,l)=llv(c,4);粉变:varaQ,colorff99ff,LINETHICKO;varbQ:=c=llv(c,4)and(ref(c,l)3、THICKO;varcQ:=ref(c,1)=11v(c,4)andc>=ref(c,2)orref(c,2)=11v(c,4)andref(c,1)<=ref(c,3)andref(c,2)[=ref(c,1);绿买:varcQ,colorOOffOO,LINETH1CK0;vardQ:=ref(c,l)=hhv(c,4)andc][ref(c,3)orref(c,3)=hhv(c,4)andref(c,1)>ref(c,2))andref(c,2)>=ref(c]
4、,4)andc[二今口阻力,今日阻力,今日阻力,20,0),ColorOOOOFF;STTCKLTNE(BARSTAT]
5、US=2andc〈今口阻力,今口阻力,今口阻力,20,0),ColorOOFFOO;STICKLINE(BARSTATUS二2andc>二今日支撑,今日支攜今日支撑,20,0),ColorFF00FF;STICKLINE(BARSTATUSH2andc〈》HH卅』«与H卅«20yOLCOlorFFOOOm亠M39EMAC30)-M65?EMA(P60)二DRAWGBKLAST(CLOSE〉。STRIP(RGB(9H95》95)9RGBooo)o))-IFDATATYPESANDKulLhenbeginparbline(c*2lrefp3)-c〉0)-M0VE39CO1
6、or00888?°LAYER7八parbline(refpl)兴2—refp4)9c〉0)二OVENColoroo880pLAYER7-partline(refp2)*2lref(p5),c〉0)-M0VE1,color883388,LAYER7八M30mMA(a30LColor660066」M60-EMA(a60)or000066-Emwwj'iwyyl'WEEKDAY-ifc〉0thenbegin;wWj几齟逵八IFwyylH5IFwyylr4IFwyylr3IFWyylu2IFwyyulWW1Bwwrr1'thenwWjthenLhenthenLhenwwj+岂
7、wwxHwWj弋Mwwj+》Hwwj+1wyy2LM0NT=wyy3iLDAYiIFBARSTATUSU2Chenwwwv.洽s》+NUMTOSTRN(wyy2o)弋F》+NUMT0STRN(wyy3-0)+9BJIFBARSTATUSU2thenwwhiNUMTOSTRN(date+looooooo)-IFBARSTATUSU2thenwwrr=wwj_DRAWTEXTREL(20》40「》+wwh+wwl+WWWLLINETHICK3-ColorFFFF80;DRAWGBKLAST(CLOSE〉。STRIP(RGB(95-95」9PRGBPoo