請老師按文件編寫 [文華財經(jīng)]
-
咨詢內(nèi)容:
請老師參照文本寫一下H4,L4,H5,L5,謝謝老師
?下載信息??[文件大小:???下載次數(shù):?]文件名:新建文本文檔 (3).txt
??
?來源:程序化99
-
文華技術(shù)人員:
?參考:
筆:=1; 纏論線開關(guān):=1;//筆中樞; MA8:=1; 展F:=10; HH展BDD:=(H>HV(H,展F))*纏論線開關(guān)*MA8; NH展BDD:=(BARSLAST(HH展BDD)+1)*纏論線開關(guān)*MA8; LL展BDD:=(L<LV(L,展F))*纏論線開關(guān)*MA8; NL展BDD:=(BARSLAST(LL展BDD)+1)*纏論線開關(guān)*MA8;
AH展BDD:=(BACKSET(COUNT(LL展BDD,NH展BDD)&&LL展BDD,NH展BDD))*纏論線開關(guān)*MA8; AL展BDD:=(BACKSET(COUNT(HH展BDD,NL展BDD)&&HH展BDD,NL展BDD))*纏論線開關(guān)*MA8; //DRAWLINE1(CROSS(AH展BDD=1,0.5),H,CROSS(AL展BDD=1,0.5),L,0),DASHDOTDOT,LINETHICK1,RGB(146,99,1); //DRAWLINE1(CROSS(AL展BDD=1,0.5),L,CROSS(AH展BDD=1,0.5),H,0),DASHDOTDOT,LINETHICK1,RGB(143,32,255); //DRAWNUMBER(CROSS(AH展BDD=1,0.5),H+0*MINPRICE,H-VALUEWHEN(CROSS(AL展BDD=1,0.5),L),1,COLORYELLOW),ALIGN0,VALIGN2,FONTSIZE16; //DRAWNUMBER(CROSS(AL展BDD=1,0.5),L-0*MINPRICE,L-VALUEWHEN(CROSS(AH展BDD=1,0.5),H),1,COLORGREEN),ALIGN0,VALIGN0,FONTSIZE16; LX:=AL展BDD, NOTEXT; HX:=AH展BDD, NOTEXT;
HH:CROSS(AH展BDD=1,0.5), NOTEXT; LL:CROSS(AL展BDD=1,0.5), NOTEXT; //DRAWLINE3(筆*ISLASTBAR&&BARSLAST(HH)<BARSLAST(LL),筆*VALUEWHEN(HH,H),筆*BARSLAST(HH),1,LLV(L,BARSLAST(HH)),LLVBARS(L,BARSLAST(HH)),0),RGB(200,200,0),DASH;//BOLL26最后一筆(未完成),向下筆; //DRAWLINE3(筆*ISLASTBAR&&BARSLAST(HH)>BARSLAST(LL),筆*VALUEWHEN(LL,L),筆*BARSLAST(LL),1,HHV(H,BARSLAST(LL)),HHVBARS(H,BARSLAST(LL)),0),RGB(200,200,0),DASH;//BOLL26最后一筆(未完成),向上筆;
//4、筆終點標(biāo)注文字記號; //4.1、筆(已完成)終點標(biāo)注文字; BAA:=IF(CROSS(LX=1,0.5),L,H); BBB:=BACKSET(ISLASTBAR,SUMBARS(CROSS(LX=1,0.5)||CROSS(HX=1,0.5),4)); DRAWTEXT(筆*BBB&&CROSS(HX=1,0.5)&&COUNT(CROSS(HX=1,0.5),BARSLASTCOUNT(BBB))=1,H,'2? ? ? ',ALIGN2,FONTSIZE18,RGB(128,128,255);//倒數(shù)第2個高點標(biāo)注文字; DRAWTEXT(筆*BBB&&CROSS(HX=1,0.5)&&COUNT(CROSS(HX=1,0.5),BARSLASTCOUNT(BBB))=2,H,'1? ? ? ',ALIGN2,FONTSIZE18,RGB(128,128,255);//倒數(shù)第1個高點標(biāo)注文字; DRAWTEXT(筆*BBB&&CROSS(LX=1,0.5)&&COUNT(CROSS(LX=1,0.5),BARSLASTCOUNT(BBB))=1,L,'2? ? ? ',ALIGN2,VALIGN0,FONTSIZE18,RGB(128,128,255);//倒數(shù)第2個低點標(biāo)注文字; DRAWTEXT(筆*BBB&&CROSS(LX=1,0.5)&&COUNT(CROSS(LX=1,0.5),BARSLASTCOUNT(BBB))=2,L,'1? ? ? ',ALIGN2,VALIGN0,FONTSIZE18,RGB(128,128,255);//倒數(shù)第1個低點標(biāo)注文字;
BAA0:=BACKSET(ISLASTBAR,SUMBARS(CROSS(LX=1,0.5)||CROSS(HX=1,0.5),5)); DRAWTEXT(筆*CROSS(BAA0>=1,0.5) && CROSS(LX=1,0.5),L,'3? ? ? ',ALIGN2,VALIGN0,FONTSIZE18,RGB(155,155,155);//倒數(shù)第3個低點標(biāo)注文字; DRAWTEXT(筆*CROSS(BAA0>=1,0.5) && CROSS(HX=1,0.5),H,'3? ? ? ',ALIGN2,FONTSIZE18,RGB(155,155,155);//倒數(shù)第3個高點標(biāo)注文字;
BAA1:BACKSET(ISLASTBAR,SUMBARS(CROSS(LX=1,0.5)||CROSS(HX=1,0.5),6)); DRAWTEXT(筆*CROSS(BAA1>=1,0.5) && CROSS(LX=1,0.5),L,'4? ? ? ',ALIGN2,VALIGN0,FONTSIZE18,RGB(155,155,155);//倒數(shù)第4個低點標(biāo)注文字; DRAWTEXT(筆*CROSS(BAA1>=1,0.5) && CROSS(HX=1,0.5),H,'4? ? ? ',ALIGN2,FONTSIZE18,RGB(155,155,155);//倒數(shù)第4個高點標(biāo)注文字
BAA2:BACKSET(ISLASTBAR,SUMBARS(CROSS(LX=1,0.5)||CROSS(HX=1,0.5),7)); DRAWTEXT(筆*CROSS(BAA2>=1,0.5) && CROSS(LX=1,0.5),L,'5? ? ? ',ALIGN2,VALIGN0,FONTSIZE18,RGB(155,155,155);//倒數(shù)第5個低點標(biāo)注文字; DRAWTEXT(筆*CROSS(BAA2>=1,0.5) && CROSS(HX=1,0.5),H,'5? ? ? ',ALIGN2,FONTSIZE18,RGB(155,155,155);//倒數(shù)第5個高點標(biāo)注文字
BAA3:BACKSET(ISLASTBAR,SUMBARS(CROSS(LX=1,0.5)||CROSS(HX=1,0.5),8)); DRAWTEXT(筆*CROSS(BAA3>=1,0.5) && CROSS(LX=1,0.5),L,'6? ? ? ',ALIGN2,VALIGN0,FONTSIZE18,RGB(155,155,155);//倒數(shù)第6個低點標(biāo)注文字; DRAWTEXT(筆*CROSS(BAA3>=1,0.5) && CROSS(HX=1,0.5),H,'6? ? ? ',ALIGN2,FONTSIZE18,RGB(155,155,155);//倒數(shù)第6個高點標(biāo)注文字
?
?來源: www.kzuj.com.cn
-
文華客服:
花兄,代入后看不到按順序轉(zhuǎn)換,L3,H4缺失,?
?
- 網(wǎng)友回復(fù): ?您的H3,L3往后都是根據(jù)趨勢選擇一個顯示的,為L3,H4,L5,H6,或者H3,L4,H5,L6這種順序顯示的;
有思路,想編寫各種指標(biāo)公式,交易模型,選股公式,還原公式的朋友
可聯(lián)系技術(shù)人員 QQ: 262069696 或微信號:cxh99cxh99 進(jìn)行 有償收費 編寫!
(注:由于人數(shù)限制,QQ或微信請選擇方便的一個聯(lián)系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容