趋势研判指标原理解析:输出INPUT:N(13,1,99),M(1,0,60),P(3,1,300),P2(5,1,300),P3(36,1,300),P4(13,1,300),P5(65,1,300)A1赋值:1A2赋值:(收盘价的3日指数移动平均) * A1A3赋值:((((收盘价的22日线性回归斜率)*20)+收盘价)的55日指数移动平均) * A1A4赋值:A3的1日简单移动平均A5赋值:A4 * 0.985A6赋值:收盘价的5日简单移动平均A7赋值:收盘价的13日简单移动平均A8赋值:收盘价的21日简单移动平均A9赋值:如果(A2>A4),返回A4,否则返回A5当满足条件(A2>(A4*A1))时,在(A4*1.001)和(A4+0.018)位置之间画柱状线,宽度为6,501不为0则画空心柱.,线宽为2,画红色当满足条件(A2 (1日前的收盘价)) AND (收盘价 > (2日前的收盘价))A11赋值:((1日前的A10) AND (收盘价 = (2日前的收盘价))A12赋值:((1日前的A11) AND (收盘价 >= (1日前的收盘价))) AND (收盘价 = (2日前的收盘价))A14赋值:((1日前的A13) AND (收盘价 >= (1日前的收盘价))) AND (收盘价 = (2日前的收盘价))A16赋值:((1日前的A15) AND (收盘价 >= (1日前的收盘价))) AND (收盘价 = (2日前的收盘价))A18赋值:((1日前的A17) AND (收盘价 >= (1日前的收盘价))) AND (收盘价 = (2日前的收盘价))A20赋值:((1日前的A19) AND (收盘价 >= (1日前的收盘价))) AND (收盘价 = (2日前的收盘价))A22赋值:(收盘价 = (1日前的收盘价))) AND (收盘价 = (2日前的收盘价))A25赋值:((1日前的A24) AND (收盘价 >= (1日前的收盘价))) AND (收盘价 = (2日前的收盘价))A27赋值:((1日前的A26) AND (收盘价 >= (1日前的收盘价))) AND (收盘价 = (2日前的收盘价))A29赋值:((1日前的A28) AND (收盘价 >= (1日前的收盘价))) AND (收盘价 = (2日前的收盘价))A31赋值:((1日前的A30) AND (收盘价 >= (1日前的收盘价))) AND (收盘价 = (2日前的收盘价))A33赋值:((1日前的A32) AND (收盘价 >= (1日前的收盘价))) AND (收盘价 A38) AND (A37 > A38)) AND (A38 > (1日前的A38))) AND (A39 > (1日前的A39))A46赋值:A43 * A45A47赋值:A44 * A45A48赋值:((((5日内A43的最高值) >= 2) AND A45) AND (A36 > (1日前的A36))) AND (A36 > A37)A49赋值:A48 * A43A50赋值:上次((A49>0)ANDNOT((1日前的A49)))距今天数 + 1A51赋值:((收盘价 / (A50日前的收盘价)) - 1) * 100A52赋值:(A46 > 0) AND (A49 = 0)A53赋值:上次A52距今天数 + 1A54赋值:((((A36/(1日前的A36))-1)*100)的反正切 * 180) / 3.14159A55赋值:(A54 > (1日前的A54)) AND ((1日前的A54) (1日前的A36)) AND ((1日前的A36) A36))ANDA48)的3日过滤A58赋值:上次A57距今天数当满足条件A52时,在(((开盘价+收盘价)/2)-0.01)和(((开盘价+收盘价)/2)+0.01)位置之间画柱状线,宽度为4,0不为0则画空心柱.,画绿色当满足条件A52时,在最低价和最高价位置之间画柱状线,宽度为1,1不为0则画空心柱.,画绿色当满足条件A57时,在(((开盘价+收盘价)/2)-0.01)和(((开盘价+收盘价)/2)+0.01)位置之间画柱状线,宽度为4,0不为0则画空心柱.,画黄色当满足条件A57时,在最低价和最高价位置之间画柱状线,宽度为1,1不为0则画空心柱.,画黄色当满足条件((A58>0)AND(A58(A4*A1))AND(A34*A1))时,在(最低价-0.05)位置书写文字,线宽为3,画红色当满足条件((A2=A63))时,在A63和A63位置之间画柱状线,宽度为30,0不为0则画空心柱.,画红色当满足条件((DISPSTATUS=2)AND(收盘价=A64))时,在A64和A64位置之间画柱状线,宽度为30,0不为0则画空心柱.,画洋红色当满足条件((DISPSTATUS=2)AND(收盘价 a4),a4,a5);STICKLINE((a2 > (a4 * a1)),(a4 * 1.001),(a4 + 0.018),6,501),linethick2,colorRed;STICKLINE((a2 (REF(CLOSE,1))) AND (CLOSE > (REF(CLOSE,2)));a11:=((REF(a10,1)) AND (CLOSE = (REF(CLOSE,2)));a12:=((REF(a11,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE = (REF(CLOSE,2)));a14:=((REF(a13,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE = (REF(CLOSE,2)));a16:=((REF(a15,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE = (REF(CLOSE,2)));a18:=((REF(a17,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE = (REF(CLOSE,2)));a20:=((REF(a19,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE = (REF(CLOSE,2)));a22:=(CLOSE = (REF(CLOSE,1)))) AND (CLOSE = (REF(CLOSE,2)));a25:=((REF(a24,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE = (REF(CLOSE,2)));a27:=((REF(a26,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE = (REF(CLOSE,2)));a29:=((REF(a28,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE = (REF(CLOSE,2)));a31:=((REF(a30,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE = (REF(CLOSE,2)));a33:=((REF(a32,1)) AND (CLOSE >= (REF(CLOSE,1)))) AND (CLOSE a38) AND (a37 > a38)) AND (a38 > (REF(a38,1)))) AND (a39 > (REF(a39,1)));a46:=a43 * a45;a47:=a44 * a45;a48:=((((HHV(a43,5)) >= 2) AND a45) AND (a36 > (REF(a36,1)))) AND (a36 > a37);a49:=a48 * a43;a50:=BARSLAST(((a49 > 0) AND NOT((REF(a49,1))))) + 1;a51:=((CLOSE / (REF(CLOSE,a50))) - 1) * 100;a52:=(a46 > 0) AND (a49 = 0);a53:=BARSLAST(a52) + 1;a54:=(ATAN((((a36 / (REF(a36,1))) - 1) * 100)) * 180) / 3.14159;a55:=(a54 > (REF(a54,1))) AND ((REF(a54,1)) (REF(a36,1))) AND ((REF(a36,1)) a36)) AND a48),3);a58:=BARSLAST(a57);STICKLINE(a52,(((OPEN + CLOSE) / 2) - 0.01),(((OPEN + CLOSE) / 2) + 0.01),4,0),colorGreen;STICKLINE(a52,LOW,HIGH,1,1),colorGreen;STICKLINE(a57,(((OPEN + CLOSE) / 2) - 0.01),(((OPEN + CLOSE) / 2) + 0.01),4,0),colorYellow;STICKLINE(a57,LOW,HIGH,1,1),colorYellow;STICKLINE(((a58 > 0) AND (a58 (a4 * a1)) AND (a34 * a1)),(LOW - 0.05),㊣),linethick3,colorRed;DRAWTEXT(((a2 = a63)),a63,a63,30,0),colorRed;STICKLINE(((DISPSTATUS = 2) AND (CLOSE = a64)),a64,a64,30,0),colorMagenta;STICKLINE(((DISPSTATUS = 2) AND (CLOSE 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));DRAWTEXTREL(10,900,㊣十二星座*神獒赢富㊣),linethick1,COLOR00EEff;CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));WARNING(,CURRENTTIME>180000 and (CXH=1 OR CXH=6));DRAWTEXTREL(10 ,10 ,指标公式);1、蓝蝴蝶软件工作室,现已经为客户定做500多套软件,本店专业定做ERP、OA、进销存管理系统、数据统计和分析 、数据库维护、API对接。2、大数据处理与分析(10G文本文件)和excel处理等.3、Acesss、MSSQL、SQLServer、Oracle数据库的维护和数据库设计、升迁等.4、代做通达信,金字塔、TB等指标公式编写,量化开发。5、诚心诚意为你服务是本工作室的宗旨。6、文章为转载互联网文章,其仅供参考,并不构成投资建议。如有需要,请加QQ:88652583 或微信: