#property copyright "InsightNext" #property link "http://www.metaquotes.net" #property indicator_chart_window double g_ibuf_76[]; int gi_80 = 3; int init() { IndicatorBuffers(1); IndicatorShortName("TQ_pass"); SetIndexBuffer(0, g_ibuf_76); SetIndexStyle(0, DRAW_NONE); SetIndexLabel(0, NULL); return (0); } int deinit() { return (0); } int start() { int l_ind_counted_0 = IndicatorCounted(); int li_4 = Bars - l_ind_counted_0 - 1; double ld_unused_8 = 0; for (int li_16 = li_4; li_16 >= 0; li_16--) g_ibuf_76[li_16] = getActivateValue(li_16); return (0); } double getActivateValue(int ai_0) { return (iMA(NULL, 0, 8, 0, MODE_SMA, PRICE_CLOSE, ai_0) * gi_80); }