以下是通达信AAA 财富3源码副图

X_1:=IF(DATE<1151219 AND DATE>900101,1,0);
 X_2:=(CLOSE+LOW+HIGH)/3;
 X_3:=IF(CURRBARSCOUNT=1,(XMA(X_2,3)*3-MA(X_2,2)+X_2)/3,XMA(X_2,3));
 X_4:=IF(CURRBARSCOUNT=1,(XMA(X_3,3)*3-MA(X_3,2)+X_3)/3,XMA(X_3,3));
 X_5:=IF(CURRBARSCOUNT=1,(XMA(X_4,3)*3-MA(X_4,2)+X_4)/3,XMA(X_4,3));
 X_6:=IF(CURRBARSCOUNT=1,(XMA(X_5,3)*3-MA(X_5,2)+X_5)/3,XMA(X_5,3));
 X_7:=IF(CURRBARSCOUNT=1,(XMA(X_6,3)*3-MA(X_6,2)+X_6)/3,XMA(X_6,3));
 X_8:=IF(CURRBARSCOUNT=1,(XMA(X_7,3)*3-MA(X_7,2)+X_7)/3,XMA(X_7,3));
 X_9:=IF(CURRBARSCOUNT=1,(XMA(X_8,3)*3-MA(X_8,2)+X_8)/3,XMA(X_8,3));
 X_10:=IF(CURRBARSCOUNT=1,(XMA(X_9,3)*3-MA(X_9,2)+X_9)/3,XMA(X_9,3));
 X_11:=IF(CURRBARSCOUNT=1,(XMA(X_10,3)*3-MA(X_10,2)+X_10)/3,XMA(X_10,3));
 X_12:=IF(CURRBARSCOUNT=1,(XMA(X_11,3)*3-MA(X_11,2)+X_11)/3,XMA(X_11,3));
 X_13:=IF(CURRBARSCOUNT=1,(XMA(X_12,3)*3-MA(X_12,2)+X_12)/3,XMA(X_12,3));
 X_14:=IF(CURRBARSCOUNT=1,(XMA(X_13,3)*3-MA(X_13,2)+X_13)/3,XMA(X_13,3));
 X_15:=IF(CURRBARSCOUNT=1,(XMA(X_14,3)*3-MA(X_14,2)+X_14)/3,XMA(X_14,3));
 X_16:=IF(CURRBARSCOUNT=1,(XMA(X_15,3)*3-MA(X_15,2)+X_15)/3,XMA(X_15,3));
 X_17:=IF(CURRBARSCOUNT=1,(XMA(X_16,3)*3-MA(X_16,2)+X_16)/3,XMA(X_16,3));
 X_18:=IF(CURRBARSCOUNT=1,(XMA(X_17,3)*3-MA(X_17,2)+X_17)/3,XMA(X_17,3));
 X_19:=IF(CURRBARSCOUNT=1,(XMA(X_18,3)*3-MA(X_18,2)+X_18)/3,XMA(X_18,3));
 X_20:=IF(CURRBARSCOUNT=1,(XMA(X_19,3)*3-MA(X_19,2)+X_19)/3,XMA(X_19,3));
 X_21:=IF(CURRBARSCOUNT=1,(XMA(X_20,3)*3-MA(X_20,2)+X_20)/3,XMA(X_20,3));
 X_22:=IF(CURRBARSCOUNT=1,(XMA(X_21,3)*3-MA(X_21,2)+X_21)/3,XMA(X_21,3));
 X_23:=IF(CURRBARSCOUNT=1,(XMA(X_22,3)*3-MA(X_22,2)+X_22)/3,XMA(X_22,3));
 X_24:=IF(CURRBARSCOUNT=1,(XMA(X_23,3)*3-MA(X_23,2)+X_23)/3,XMA(X_23,3));
 X_25:=IF(CURRBARSCOUNT=1,(XMA(X_24,3)*3-MA(X_24,2)+X_24)/3,XMA(X_24,3));
 X_26:=IF(CURRBARSCOUNT=1,(XMA(X_25,3)*3-MA(X_25,2)+X_25)/3,XMA(X_25,3));
 X_27:=IF(CURRBARSCOUNT=1,(XMA(X_26,3)*3-MA(X_26,2)+X_26)/3,XMA(X_26,3));
 X_28:=IF(CURRBARSCOUNT=1,(XMA(X_27,3)*3-MA(X_27,2)+X_27)/3,XMA(X_27,3));
 X_29:=IF(CURRBARSCOUNT=1,(XMA(X_28,3)*3-MA(X_28,2)+X_28)/3,XMA(X_28,3));
 X_30:=IF(CURRBARSCOUNT=1,(XMA(X_29,3)*3-MA(X_29,2)+X_29)/3,XMA(X_29,3));
 X_31:=IF(CURRBARSCOUNT=1,(XMA(X_30,3)*3-MA(X_30,2)+X_30)/3,XMA(X_30,3));
 X_32:=IF(CURRBARSCOUNT=1,(XMA(X_31,3)*3-MA(X_31,2)+X_31)/3,XMA(X_31,3));
 X_33:=IF(CURRBARSCOUNT=1,(XMA(X_32,3)*3-MA(X_32,2)+X_32)/3,XMA(X_32,3));
 X_34:=IF(CURRBARSCOUNT=1,(XMA(X_33,3)*3-MA(X_33,2)+X_33)/3,XMA(X_33,3));
 X_35:=IF(CURRBARSCOUNT=1,(XMA(X_34,3)*3-MA(X_34,2)+X_34)/3,XMA(X_34,3));
 X_36:=IF(CURRBARSCOUNT=1,(XMA(X_35,3)*3-MA(X_35,2)+X_35)/3,XMA(X_35,3));
 X_37:=IF(CURRBARSCOUNT=1,(XMA(X_36,3)*3-MA(X_36,2)+X_36)/3,XMA(X_36,3));
 X_38:=IF(CURRBARSCOUNT=1,(XMA(X_37,3)*3-MA(X_37,2)+X_37)/3,XMA(X_37,3));
 X_39:=IF(CURRBARSCOUNT=1,(XMA(X_38,3)*3-MA(X_38,2)+X_38)/3,XMA(X_38,3));
 X_40:=IF(CURRBARSCOUNT=1,(XMA(X_39,3)*3-MA(X_39,2)+X_39)/3,XMA(X_39,3));
 X_41:=IF(CURRBARSCOUNT=1,(XMA(X_40,3)*3-MA(X_40,2)+X_40)/3,XMA(X_40,3));
 X_42:=IF(CURRBARSCOUNT=1,(XMA(X_41,3)*3-MA(X_41,2)+X_41)/3,XMA(X_41,3));
 X_43:=IF(CURRBARSCOUNT=1,(XMA(X_42,3)*3-MA(X_42,2)+X_42)/3,XMA(X_42,3));
 X_44:=IF(CURRBARSCOUNT=1,(XMA(X_43,3)*3-MA(X_43,2)+X_43)/3,XMA(X_43,3));
 X_45:=IF(CURRBARSCOUNT=1,(XMA(X_44,3)*3-MA(X_44,2)+X_44)/3,XMA(X_44,3));
 X_46:=IF(CURRBARSCOUNT=1,(XMA(X_45,3)*3-MA(X_45,2)+X_45)/3,XMA(X_45,3));
 X_47:=IF(CURRBARSCOUNT=1,(XMA(X_46,3)*3-MA(X_46,2)+X_46)/3,XMA(X_46,3));
 X_48:=IF(CURRBARSCOUNT=1,(XMA(X_47,3)*3-MA(X_47,2)+X_47)/3,XMA(X_47,3));
 X_49:=IF(CURRBARSCOUNT=1,(XMA(X_48,3)*3-MA(X_48,2)+X_48)/3,XMA(X_48,3));
 X_50:=IF(CURRBARSCOUNT=1,(XMA(X_49,3)*3-MA(X_49,2)+X_49)/3,XMA(X_49,3));
 X_51:=IF(CURRBARSCOUNT=1,(XMA(X_50,3)*3-MA(X_50,2)+X_50)/3,XMA(X_50,3));
 X_52:=IF(CURRBARSCOUNT=1,(XMA(X_51,3)*3-MA(X_51,2)+X_51)/3,XMA(X_51,3));
 X_53:=IF(CURRBARSCOUNT=1,(XMA(X_52,3)*3-MA(X_52,2)+X_52)/3,XMA(X_52,3));
 X_54:=IF(CURRBARSCOUNT=1,(XMA(X_53,3)*3-MA(X_53,2)+X_53)/3,XMA(X_53,3));
 X_55:=IF(CURRBARSCOUNT=1,(XMA(X_54,3)*3-MA(X_54,2)+X_54)/3,XMA(X_54,3));
 X_56:=IF(CURRBARSCOUNT=1,(XMA(X_55,3)*3-MA(X_55,2)+X_55)/3,XMA(X_55,3));
 X_57:=IF(CURRBARSCOUNT=1,(XMA(X_56,3)*3-MA(X_56,2)+X_56)/3,XMA(X_56,3));
 X_58:=IF(CURRBARSCOUNT=1,(XMA(X_57,3)*3-MA(X_57,2)+X_57)/3,XMA(X_57,3));
 X_59:=IF(CURRBARSCOUNT=1,(XMA(X_58,3)*3-MA(X_58,2)+X_58)/3,XMA(X_58,3));
 X_60:=IF(CURRBARSCOUNT=1,(XMA(X_59,3)*3-MA(X_59,2)+X_59)/3,XMA(X_59,3));
 X_61:=IF(CURRBARSCOUNT=1,(XMA(X_60,3)*3-MA(X_60,2)+X_60)/3,XMA(X_60,3));
 X_62:=IF(CURRBARSCOUNT=1,(XMA(X_61,3)*3-MA(X_61,2)+X_61)/3,XMA(X_61,3));
 X_63:=IF(CURRBARSCOUNT=1,(XMA(X_62,3)*3-MA(X_62,2)+X_62)/3,XMA(X_62,3));
 X_64:=IF(CURRBARSCOUNT=1,(XMA(X_63,3)*3-MA(X_63,2)+X_63)/3,XMA(X_63,3));
 X_65:=IF(CURRBARSCOUNT=1,(XMA(X_64,3)*3-MA(X_64,2)+X_64)/3,XMA(X_64,3));
 X_66:=IF(CURRBARSCOUNT=1,(XMA(X_65,3)*3-MA(X_65,2)+X_65)/3,XMA(X_65,3));
 X_67:=IF(CURRBARSCOUNT=1,(XMA(X_66,3)*3-MA(X_66,2)+X_66)/3,XMA(X_66,3));
 X_68:=IF(CURRBARSCOUNT=1,(XMA(X_67,3)*3-MA(X_67,2)+X_67)/3,XMA(X_67,3));
 X_69:=IF(CURRBARSCOUNT=1,(XMA(X_68,3)*3-MA(X_68,2)+X_68)/3,XMA(X_68,3));
 X_70:=IF(CURRBARSCOUNT=1,(XMA(X_69,3)*3-MA(X_69,2)+X_69)/3,XMA(X_69,3));
 X_71:=IF(CURRBARSCOUNT=1,(XMA(X_70,3)*3-MA(X_70,2)+X_70)/3,XMA(X_70,3));
 X_72:=IF(CURRBARSCOUNT=1,(XMA(X_71,3)*3-MA(X_71,2)+X_71)/3,XMA(X_71,3));
 X_73:=IF(CURRBARSCOUNT=1,(XMA(X_72,3)*3-MA(X_72,2)+X_72)/3,XMA(X_72,3));
 X_74:=IF(CURRBARSCOUNT=1,(XMA(X_73,3)*3-MA(X_73,2)+X_73)/3,XMA(X_73,3));
 X_75:=IF(CURRBARSCOUNT=1,(XMA(X_74,3)*3-MA(X_74,2)+X_74)/3,XMA(X_74,3));
 X_76:=IF(CURRBARSCOUNT=1,(XMA(X_75,3)*3-MA(X_75,2)+X_75)/3,XMA(X_75,3));
 X_77:=IF(CURRBARSCOUNT=1,(XMA(X_76,3)*3-MA(X_76,2)+X_76)/3,XMA(X_76,3));
 X_78:=IF(CURRBARSCOUNT=1,(XMA(X_77,3)*3-MA(X_77,2)+X_77)/3,XMA(X_77,3));
 X_79:=IF(CURRBARSCOUNT=1,(XMA(X_78,3)*3-MA(X_78,2)+X_78)/3,XMA(X_78,3));
 X_80:=IF(CURRBARSCOUNT=1,(XMA(X_79,3)*3-MA(X_79,2)+X_79)/3,XMA(X_79,3));
 X_81:=IF(CURRBARSCOUNT=1,(XMA(X_80,3)*3-MA(X_80,2)+X_80)/3,XMA(X_80,3));
 X_82:=IF(CURRBARSCOUNT=1,(XMA(X_81,3)*3-MA(X_81,2)+X_81)/3,XMA(X_81,3));
 X_83:=IF(CURRBARSCOUNT=1,(XMA(X_82,3)*3-MA(X_82,2)+X_82)/3,XMA(X_82,3));
 X_84:=IF(CURRBARSCOUNT=1,(XMA(X_83,3)*3-MA(X_83,2)+X_83)/3,XMA(X_83,3));
 X_85:=IF(CURRBARSCOUNT=1,(XMA(X_84,3)*3-MA(X_84,2)+X_84)/3,XMA(X_84,3));
 X_86:=IF(CURRBARSCOUNT=1,(XMA(X_85,3)*3-MA(X_85,2)+X_85)/3,XMA(X_85,3));
 X_87:=IF(CURRBARSCOUNT=1,(XMA(X_86,3)*3-MA(X_86,2)+X_86)/3,XMA(X_86,3));
 X_88:=IF(CURRBARSCOUNT=1,(XMA(X_87,3)*3-MA(X_87,2)+X_87)/3,XMA(X_87,3));
 X_89:=IF(CURRBARSCOUNT=1,(XMA(X_88,3)*3-MA(X_88,2)+X_88)/3,XMA(X_88,3));
 X_90:=IF(CURRBARSCOUNT=1,(XMA(X_89,3)*3-MA(X_89,2)+X_89)/3,XMA(X_89,3));
 X_91:=IF(CURRBARSCOUNT=1,(XMA(X_90,3)*3-MA(X_90,2)+X_90)/3,XMA(X_90,3));
 X_92:=IF(CURRBARSCOUNT=1,(XMA(X_91,3)*3-MA(X_91,2)+X_91)/3,XMA(X_91,3));
 X_93:=IF(CURRBARSCOUNT=1,(XMA(X_92,3)*3-MA(X_92,2)+X_92)/3,XMA(X_92,3));
 X_94:=IF(CURRBARSCOUNT=1,(XMA(X_93,3)*3-MA(X_93,2)+X_93)/3,XMA(X_93,3));
 X_95:=IF(CURRBARSCOUNT=1,(XMA(X_94,3)*3-MA(X_94,2)+X_94)/3,XMA(X_94,3));
 X_96:=IF(CURRBARSCOUNT=1,(XMA(X_95,3)*3-MA(X_95,2)+X_95)/3,XMA(X_95,3));
 X_97:=IF(CURRBARSCOUNT=1,(XMA(X_96,3)*3-MA(X_96,2)+X_96)/3,XMA(X_96,3));
 X_98:=IF(CURRBARSCOUNT=1,(XMA(X_97,3)*3-MA(X_97,2)+X_97)/3,XMA(X_97,3));
 LL:X_98*X_1;
 X_99:=X_88*1.125;
 X_100:=X_88*0.875;
 X_101:=MA((2*CLOSE+HIGH+LOW)/4,5);
 X_102:=X_101*102/100;
 X_103:=X_101*(200-102)/30;
 X_104:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
 X_105:=DMA(CLOSE,X_104);
 X_106:=(1+7/100)*X_105;
 X_107:=(1-7/100)*X_105;
 X_108:=CLOSE;
 X_109:=X_108;
运动趋势:X_98*X_1,COLORWHITE;
 X_110:=运动趋势*1.1;
 X_111:=运动趋势*1.125;
高风险区3:运动趋势*1.15,COLORRED;
 X_112:=运动趋势*0.9;
 X_113:=运动趋势*0.875;
良机区3:运动趋势*0.85,COLORGREEN;
 X_114:=CLOSE/REF(CLOSE,1)*1000-1000;
 X_115:=XMA(XMA(XMA(X_114,2),2),2);
 X_116:=XMA(XMA(XMA(X_114,4),4),4);
 X_117:=XMA(XMA(XMA(X_114,6),6),6);
 X_118:=(CLOSE-运动趋势)/运动趋势*100>10 AND CLOSE>X_106 OR ((HIGH-运动趋势)/运动趋势*100>10 AND HIGH>X_106) OR ((OPEN-运动趋势)/运动趋势*100>10 AND OPEN>X_106);
 DRAWTEXT(X_118,HIGH,23*X_1);
 X_119:=(CLOSE-运动趋势)/运动趋势*100<(-10) AND CLOSE<X_107 OR ((OPEN-运动趋势)/运动趋势*100<(-10) AND OPEN<X_107) OR ((LOW-运动趋势)/运动趋势*100<(-10) AND LOW<X_107);
 GX:DRAWTEXT(X_119,良机区3,24*X_1);

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