• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 11:23pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 11:23pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Need Help to modify this Candle Strength Indicator (Or similar) 14 replies

Indicator for average candle size for up or down candle? 1 reply

modify candle countdown indicator 0 replies

Need help coding indicator on candle size 5 replies

Candle Size in Pips (Need help on Indi) 7 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 2
Attachments: Help to modify Candle size indicator
Exit Attachments

Help to modify Candle size indicator

  • Post #1
  • Quote
  • First Post: Aug 9, 2012 10:26pm Aug 9, 2012 10:26pm
  •  palmy
  • | Joined Dec 2011 | Status: Member | 48 Posts
I picked up this indi from somewhere and am trying to mod it.

Need help to make the markers closer to the bar. As of now, the markers are not visible when I size down (not zoom) the window.

I thought changing the values in SetIndexDrawBegin() would suffice. Apparently I am wrong.

Thanks in advance.
Attached File
File Type: mq4 Candle Size.mq4   2 KB | 334 downloads
  • Post #2
  • Quote
  • Aug 10, 2012 1:45am Aug 10, 2012 1:45am
  •  futurespec
  • Joined May 2011 | Status: If you think I'm mad, I must be mad | 1,058 Posts
Think this is what you want.
Variable mGap will change the distance for you.
HTH

M.
Attached File
File Type: mq4 Candle Size.mq4   2 KB | 455 downloads
If you think I'm mad, I must be mad
 
 
  • Post #3
  • Quote
  • Aug 10, 2012 7:31am Aug 10, 2012 7:31am
  •  palmy
  • | Joined Dec 2011 | Status: Member | 48 Posts
Quoting futurespec
Disliked
Think this is what you want.
Variable mGap will change the distance for you.
HTH

M.
Ignored
Thanks!

Mind explaining what does SetIndexDrawBegin() do in this case?
 
 
  • Post #4
  • Quote
  • Aug 10, 2012 8:37am Aug 10, 2012 8:37am
  •  futurespec
  • Joined May 2011 | Status: If you think I'm mad, I must be mad | 1,058 Posts
SetIndexDrawBegin()

Put your cursor in the middle of the word in the code/ Press F1 ? the answer will appear!

It sets the first position of the indicator ... will not draw the indi before that point.

M.
If you think I'm mad, I must be mad
 
 
  • Post #5
  • Quote
  • Last Post: Aug 10, 2012 6:29pm Aug 10, 2012 6:29pm
  •  palmy
  • | Joined Dec 2011 | Status: Member | 48 Posts
Quoting futurespec
Disliked
SetIndexDrawBegin()

Put your cursor in the middle of the word in the code/ Press F1 ? the answer will appear!

It sets the first position of the indicator ... will not draw the indi before that point.

M.
Ignored
Thanks!

I tried to interpret the answer from F1, just couldn't get it since I don't have an understanding of MQL4. Your explanation "will not draw the indi before that point" just says it all.

I am not a programmer, just a layman trying to mod some indi's here and there.

Cheers!
 
 
  • Platform Tech
  • /
  • Help to modify Candle size indicator
  • Reply to Thread
0 traders viewing now
Top of Page
Forex Factory Blog Updated: Alerting All Members
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2022