(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/stock/stockprogram"],{a59d6:function(t,n,e){"use strict";(function(t){e("630e");o(e("66fd"));var n=o(e("c9b6"));function o(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("5486")["createPage"])},a828:function(t,n,e){"use strict";e.r(n);var o=e("ed2b"),i=e.n(o);for(var a in o)"default"!==a&&function(t){e.d(n,t,(function(){return o[t]}))}(a);n["default"]=i.a},aec8:function(t,n,e){"use strict";var o=e("b490"),i=e.n(o);i.a},b490:function(t,n,e){},c9b6:function(t,n,e){"use strict";e.r(n);var o=e("d8dd"),i=e("a828");for(var a in i)"default"!==a&&function(t){e.d(n,t,(function(){return i[t]}))}(a);e("aec8");var r,u=e("f0c5"),c=Object(u["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],r);n["default"]=c.exports},d8dd:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){return o}));var o={faNavbar:function(){return e.e("components/fa-navbar/fa-navbar").then(e.bind(null,"6858"))},faTabbar:function(){return Promise.all([e.e("common/vendor"),e.e("components/fa-tabbar/fa-tabbar")]).then(e.bind(null,"ecd8"))},uPopup:function(){return e.e("uview-ui/components/u-popup/u-popup").then(e.bind(null,"0cac"))},uIcon:function(){return e.e("uview-ui/components/u-icon/u-icon").then(e.bind(null,"ba52"))},uInput:function(){return Promise.all([e.e("common/vendor"),e.e("uview-ui/components/u-input/u-input")]).then(e.bind(null,"b3e3"))}},i=function(){var t=this,n=t.$createElement;t._self._c},a=[]},ed2b:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=r(e("c2fa")),i=(e("fc83"),e("a90a")),a=e("b3c6");function r(t){return t&&t.__esModule?t:{default:t}}var u=function(){Promise.all([e.e("common/vendor"),e.e("node-modules/mp-html/dist/uni-app/components/mp-html/mp-html")]).then(function(){return resolve(e("71c1"))}.bind(null,e)).catch(e.oe)},c=function(){Promise.all([e.e("common/vendor"),e.e("uni_modules/jones-hqchart2/js_sdk/HQChartControl")]).then(function(){return resolve(e("6a94"))}.bind(null,e)).catch(e.oe)};a.JSCommonCoordinateData.MinuteTimeStringData.CreateSHSZData=function(){return o.default.HQData.CreateSHSZData(a.JSCommonCoordinateData.MinuteTimeStringData)},a.JSCommonCoordinateData.MinuteCoordinateData.GetSHSZData=function(t,n){return o.default.HQData.GetSHSZData(t,n)},i.JSConsole.Complier.Log=function(){},i.JSConsole.Chart.Log=function(){};var s={components:{HQChartControl:c,mpHtml:u},data:function(){var t={Symbol:"600000.sh",ChartWidth:350,ChartHeight:500,showtool:!0,showtip:!0,mycode:"begin\na:=1;\nb:=2;\nend",scripts:"",editmode:!1};return t},watch:{showtool:function(t){if(!t){this.showtip=!0;var n=this;setTimeout((function(){n.showtip=!1}),2e3)}}},onShow:function(){var n=this;t.getSystemInfo({success:function(t){var e=t.windowWidth,o=t.windowHeight;n.ChartWidth=e,n.ChartHeight=o-100,n.$nextTick((function(){n.CreateHQChart()}))}});this.checkcode()},onHide:function(){this.ClearHQChart()},onUnload:function(){this.ClearHQChart()},methods:{switchtab:function(t){return 2!=t||(this.showtool=!this.showtool,!1)},CreateHQChart:function(){var t=this.ChartHeight,n=this.$refs.HQChartCtrl;n.NetworkFilter=this.NetworkFilter,n.KLine.Option.IsApiPeriod=!0,n.KLine.Option.IsClickShowCorssCursor=!0,n.KLine.Option.IsAutoUpdate=!0,n.KLine.Option.AutoUpdateFrequency=1e4,n.KLine.Option.KLineTitle={IsShowName:!1,IsShowSettingInfo:!1,IsShowDateTime:!0},n.KLine.Option.Windows=[{Script:"RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);FF: = EMA(CLOSE, 3);MA15: = EMA(CLOSE, 21);日: = 150;昨前: = 3;高1: = REF(HHV(H, 日), 昨前);\t低1: = REF(LLV(L, 日), 昨前);H1: = 高1 - (高1 - 低1) * 0.191;\tH2: = 高1 - (高1 - 低1) * 0.382;H3: = 高1 - (高1 - 低1) * 0.5;H4: = 高1 - (高1 - 低1) * 0.618;H5: = 高1 - (高1 - 低1) * 0.809;VAR2: = CLOSE * VOL;MID: = EMA((EXPMA(VAR2, 3) / EXPMA(VOL, 3) + EXPMA(VAR2, 6) / EXPMA(VOL, 6) + EXPMA(VAR2,12) / EXPMA(VOL, 12) + EXPMA(VAR2, 24) / EXPMA(VOL, 24)) / 4, N);主趋势线: MID;MID2: = MID * 1.01;SDN: = MID * 0.94;SDN3: = REFDATE(CLOSE, 1050609),COLORYELLOW;\tSUP: = 1.06 * MID,COLORBLUE;VAR4: = EXPMA(CLOSE, 9);B9: = COUNT(HIGH > SUP, 5);VAR1: = MID;RSDN: IF(VAR1 > REF(VAR1, 1), VAR1, DRAWNULL),LINETHICK2,COLORRED;GSDN: IF(VAR1 < REF(VAR1, 1), VAR1, DRAWNULL),LINETHICK2,COLORGREEN;",Args:[{Name:"N",Value:13},{Name:"M",Value:3}],Name:"我的指标",Modify:!1,Change:!1},{Index:"VOL",Modify:!1,Change:!1},{Index:"RSI",Modify:!1,Change:!1}],n.Minute.Option.IsAutoUpdate=!0,n.Minute.Option.AutoUpdateFrequency=1e4,n.SetSize(this.ChartWidth,t),n.OnSize(),n.CreateHQChart()},ClearHQChart:function(){var t=this.$refs.HQChartCtrl;t&&t.ClearChart()},ChangeMinutePeriod:function(t){var n=this.$refs.HQChartCtrl;n.ChangeMinutePeriod(t)},ChangeKLinePeriod:function(t){var n=this.$refs.HQChartCtrl;n.ChangeKLinePeriod(t)},ChangeSymbol:function(t){var n=this.$refs.HQChartCtrl;n.ChangeSymbol(t)},NetworkFilter:function(t,n){o.default.HQData.NetworkFilter(t,n)},editcode:function(){this.editmode=!0},checkcode:function(){this.editmode=!1;var t=this;setTimeout((function(){var n=t.$refs.article;n.setContent("
"+t.mycode+"
")}),1e3)}}};n.default=s}).call(this,e("5486")["default"])}},[["a59d6","common/runtime","common/vendor"]]]);