Originally Posted by
;
สามารถวิญญาณบางชนิดโปรดอธิบายว่าทำไม iMaOnArray ทำงานเมื่อโหลดครั้งแรก แต่ไม่เมื่อมีการเปลี่ยนแปลงกรอบเวลา เห็นได้ชัดว่าผมไม่มีอะไรหายไปบ้าง? [รหัส] int เริ่มต้น () {double mPrsCl; int mLim, counted_bars = IndiorCounted (); ArraySetAsSeries (mMa จริง); ArraySetAsSeries (mMa2 จริง); if (counted_bars gt; 0) mLim = MathMin (บาร์, mHist) - (counted_bars - (บาร์ - mHist)); ถ้า (counted_bars lt; 0) return (0); if (counted_bars == 0) mLim = MathMin (บาร์ mHist) - 1; สำหรับ (int i = mLim; i gt; = 0; i--) {..........