stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Adding indicator calls to my shell EA's
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4519
Page 3 of 3
Author:  zaguy [ Mon Feb 22, 2016 11:25 am ]
Post subject:  Adding indicator calls to my shell EA's

Thank you Steve. Much appreciated.
Author:  Bruster400 [ Tue Oct 04, 2016 10:25 am ]
Post subject:  How indicators store data

SteveHopwood » Sat Nov 28, 2015 5:39 pm wrote:Indicators store data in 'buffers'. There are 8 of them, numbered 0 to 7.

Drag "StepMA new 1.05" onto your chart and open the Data Window (ctrl + D). You see basic candle information that changes as you hover the mouse over different candles.

You also see three fields
  • 2stepMA(x,x,x) where x represents the three most important input values.
  • Value 2
  • Value 3
These are the buffers that the indi uses to store its data. Buffer indexing starts at 0 so:
  • 2stepMA(x,x,x) is buffer 0
  • Value 2 is buffer 1
  • Value 3 is buffer 2
I wonder what kind of cretin thought up a system that dimwitted. Hey ho.
Stumbled on this post while looking for something else and thought I might be able to add something. When I'm looking to see if I can make iCustom calls to an indicator I use the attached indi that I wrote that places calls to all the bufffers (if <10!) in the indicator being looked at and plots the values on the screen. It keeps posting the info up with each new bar so on a 1m chart you quickly get a picture of what is happening. I've found this to be a great help in working out what's going on - especially when some indicators seem to be able to avoid posting to the data window!

Just thought I'd share :)
Author:  SteveHopwood [ Tue Oct 04, 2016 12:58 pm ]
Post subject:  How indicators store data

Bruster400 » Tue Oct 04, 2016 10:25 am wrote:
Stumbled on this post while looking for something else and thought I might be able to add something. When I'm looking to see if I can make iCustom calls to an indicator I use the attached indi that I wrote that places calls to all the bufffers (if <10!) in the indicator being looked at and plots the values on the screen. It keeps posting the info up with each new bar so on a 1m chart you quickly get a picture of what is happening. I've found this to be a great help in working out what's going on - especially when some indicators seem to be able to avoid posting to the data window!

Just thought I'd share :)
Fantastic. Thanks. I have uploaded it to the relevant post and added a link for explanation to yours.

:xm:
All times are UTC Page 3 of 3