Adding indicator calls to my shell EA's

The forum for experienced coders to upload their helpful hints, tips and lessons.
zaguy
Trader
Posts: 43
Joined: Wed Feb 03, 2016 7:42 am

Adding indicator calls to my shell EA's

Post by zaguy »

Thank you Steve. Much appreciated.
Bruster400
Trader
Posts: 192
Joined: Tue Sep 24, 2013 3:19 pm

How indicators store data

Post by Bruster400 »

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 :)
You do not have the required permissions to view the files attached to this post.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

How indicators store data

Post by SteveHopwood »

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:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
Post Reply

Return to “Coding Lessons - info for all”