以下是通达信大财女箱顶源码附图

HJ_1:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN,VOL);
 HJ_2:=HJ_1*10000/FINANCE(7);
 HJ_3:=AMOUNT/VOL/100;
 HJ_4:=(CLOSE+0.01-REF(CLOSE,1))/REF(CLOSE,1)>=0.1 AND (CLOSE-0.01-REF(CLOSE,1))/REF(CLOSE,1)<=0.1 AND CLOSE=HIGH;
 HJ_5:=IF(CURRBARSCOUNT=1,REF(CLOSE,1)*1.1,DRAWNULL);
 HJ_6:=IF(CURRBARSCOUNT=1,REF(CLOSE,1)*0.9,DRAWNULL);
 HJ_7:=CONST(BARSLAST(HJ_2=HHV(HJ_2,180)));
 HJ_8:=IF(CURRBARSCOUNT<=HJ_7+1,CONST(REF((CLOSE+OPEN+HIGH+LOW)/4,HJ_7)),DRAWNULL);

 HJ_9:=HJ_8;
 HJ_10:=HJ_9;
 HJ_11:=MA(CLOSE,5);
 HJ_12:=MA(CLOSE,6);
 HJ_13:=MA(CLOSE,7);
 HJ_14:=MA(CLOSE,8);
 HJ_15:=MA(CLOSE,9);
 HJ_16:=MA(CLOSE,10);
 HJ_17:=MA(CLOSE,11);
 HJ_18:=MA(CLOSE,12);
 HJ_19:=MA(CLOSE,13);
 HJ_20:=MA(CLOSE,14);
 HJ_21:=MA(CLOSE,15);
 HJ_22:=MA(CLOSE,16);
 HJ_23:=MA(CLOSE,17);
 HJ_24:=MA(CLOSE,18);
 HJ_25:=MA(CLOSE,19);
 HJ_26:=MA(CLOSE,20);
 HJ_27:=MA(CLOSE,21);
 HJ_28:=MA(CLOSE,22);
 HJ_29:=MA(CLOSE,23);
 HJ_30:=MA(CLOSE,24);
 HJ_31:=MA(CLOSE,25);
 HJ_32:=MA(CLOSE,26);
 HJ_33:=MA(CLOSE,27);
 HJ_34:=MA(CLOSE,28);
 HJ_35:=MA(CLOSE,29);
 HJ_36:=MA(CLOSE,30);
 HJ_37:=MA(CLOSE,31);
 HJ_38:=MAX(MAX(MAX(MAX(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_48)),1);
 HJ_50:=REF(REF(HJ_3,BARSLAST(HJ_48)),1);
 HJ_51:=REF(REF(HIGH,BARSLAST(HJ_48)),1);
 HJ_52:=MAX(OPEN,CLOSE)/MIN(OPEN,CLOSE)=HHV(MAX(OPEN,CLOSE)/MIN(OPEN,CLOSE),HJ_45);
 HJ_53:=OPEN/CLOSE=HHV(OPEN/CLOSE,HJ_45) AND CLOSE<OPEN;
 HJ_54:=CLOSE/OPEN=HHV(CLOSE/OPEN,HJ_45);
 HJ_55:=HJ_54 AND HJ_48;
 HJ_56:=HJ_53 AND HJ_1>MA(HJ_1,HJ_45) AND CLOSE>HJ_47*1.05 AND HJ_1>MA(HJ_1,5) AND CLOSE<OPEN AND CLOSE<REF(CLOSE,1) AND HIGH/HJ_47=HHV(HIGH/HJ_47,5);
 HJ_57:=REF(HHV((HIGH+CLOSE+LOW+HIGH)/4,7),BARSLAST(CROSS(HJ_16,HJ_11)));
 HJ_58:=REF(LLV(MIN(OPEN,CLOSE),10),BARSLAST(CROSS(HJ_11,HJ_16)));
 HJ_59:=REF(HHV(MAX(CLOSE,OPEN),7),BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5))));
 HJ_60:=REF(LLV(MIN(CLOSE,OPEN),10),BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10))));
 HJ_61:=IF(CLOSE>500,HJ_59,HJ_57);
 HJ_62:=IF(CLOSE>500,HJ_60,HJ_58);
 HJ_63:=IF(HJ_61=CONST(HJ_61),CONST(HJ_61),DRAWNULL);
 HJ_64:=IF(HJ_62=CONST(HJ_62),HJ_62,DRAWNULL);
 XG:CROSS(CLOSE,HJ_63);

{———————————–}

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。