Still messing around with various EA ideas, I was querying the value of SMI.mq4 (downloadable from http://www.forex-tsd.com/indicators-met ... #post15099) in a test EA. For 2 candles it displays its values correctly, but on the 3rd they all return 2147483647, which is Empty4's "EMPTY_VALUE".
The values I'm querying are in buffers, they're just lines drawn by the oscillator. Been pulling my hair out for a while over this & wasting time, decided I'd be better off asking if anyone knew any possible causes/solutions...
Edit: Narrowed it down to the SMI indicator. It works perfectly live, but it stops displaying values after just a couple of candles when used in backtesting (I was backtesting when I saw the erroneous values).
Now to figure out what the heck is wrong with SMI. Ugh.
Edit #2: Nevermind, mladen of ForexTSD came up with a fix. An mql programmer of his skill & speed - it'd be wonderful if he joined this forum...
Odd values from an indicator
Jump to
- Welcome
- Board admin messages
- Afterprime
- Funding our Forum. Tommaso needs our help.
- TDesk: A Thomas Special. The greatest trading tool ever.
- Automated trading systems
- ↳ Archived EA's
- ↳ EA's for Dummies.
- ↳ The demo/live money EA results forum
- ↳ Automated Loss Recovery
- ↳ Thingy Bob EA's
- ↳ Pipcruiser's Pipmasher forum
- ↳ Peaky forum
- ↳ Super Slope EA's
- ↳ Coordinated EA Testing Forum
- ↳ Moving Day
- ↳ Trendy Moving Day Adapted
- ↳ Trendy Monster Moving Day
- ↳ The Paycheck Project
- Manual trading systems
- ↳ Captain Jack's forum
- Utilities Indicators and Scripts
- ↳ Indicators
- ↳ Utilities
- ↳ Scripts
- Rene's stuff
- ↳ Auto-trading EA's and EA monitors
- ↳ Chart/template copying and history loading
- ↳ Clocks and calendars
- ↳ Data analysis tools
- ↳ Indicators and matrixes
- Nanningbob's Holy Grail Indicator forum
- ↳ Nanningbob 10.x
- ↳ Bob's individual forum
- ↳ Manual 10.x trading
- ↳ 10.x EA forum
- ↳ 10.x Indi forum
- ↳ 10.7 Auto Traders Forum
- BALUDA'S SUPER CSS-2.0. THE SIMPLEST TRADING SYSTEM EVER
- MQ5 Nuggets for the Dauntless
- Alternatives to Global Prime
- Coders Hangout
- ↳ Ideas for Possible Automation
- ↳ Coding Lessons - info for all
- Alternative platforms
- ↳ cTrader and cAlgo
- ↳ General discussion
- ↳ Indicators
- ↳ Robots
- ↳ JForex
- ↳ LMAX
- ↳ Tradable
- ↳ Protrader
- Know your MT4 platform
- General Forex Discussion
- ↳ Trading journals
- ↳ Finding a new platform
- ↳ Scam broker forum
- Trading Psychology & Money Management
- Macroeconomics and the Forex markets
- Newbie Discussion
- ↳ Automated trading (Rookies)
- ↳ General Discussion (Rookies)
- Lounge
- Commercial wares
- ↳ Beta testing groups
- ↳ Commercial stuff recommended by forum members
- ↳ Members' business to business
- ↳ Commercial EA's and Indi's etc
- ↳ VPS promotions
- ↳ INFINITE WEALTH