• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 1:27am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 1:27am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

ATR Indicator-Multiple Instances 0 replies

Shifting indicator display for multiple instances in 1 window 0 replies

multiple instances of mt4 4 replies

Can I run multiple instances of the same MT4 platform? 8 replies

Multiple Instances of MT4 from same Installation 0 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 9
Attachments: How to change indicator to allow multiple instances on one chart
Exit Attachments
Tags: How to change indicator to allow multiple instances on one chart
Cancel

How to change indicator to allow multiple instances on one chart

  • Post #1
  • Quote
  • First Post: Edited 7:51am Apr 29, 2010 6:50am | Edited 7:51am
  •  Rastaman
  • Joined Sep 2008 | Status: Member | 2,298 Posts
Hi

Can anyone suggest a method to change this indicator to allow me to put several of them on a single chart to act as PPZ?

This indicator works quite well as PPZ but I need to put three of them on a single chart on W1, D1 & H4 tf.

Have tried messing with the file-names but it doesn't work when changing the name.

Hope someone can show me a method to do this.

thanks
Attached Image (click to enlarge)
Click to Enlarge

Name: pic.gif
Size: 27 KB
Attached File(s)
File Type: mq4 Levels.mq4   5 KB | 457 downloads
Starting to see instead of just looking.
  • Post #2
  • Quote
  • Apr 29, 2010 8:45am Apr 29, 2010 8:45am
  •  tomhliles
  • | Additional Username | Joined Dec 2006 | 163 Posts
the problem is the object names

ObjectCreate("Lines" + i,OBJ_HLINE,0,0,R[i]);

i edited to this

ObjectCreate(Symbol()+Timeframe+"Lines" + i,OBJ_HLINE,0,0,R[i]);

now you can use 1 indy per timeframe per symbol
Attached File(s)
File Type: mq4 Levels.mq4   5 KB | 358 downloads
 
 
  • Post #3
  • Quote
  • Apr 29, 2010 10:45am Apr 29, 2010 10:45am
  •  Fish
  • | Joined May 2009 | Status: Member | 34 Posts
Rasta:

Can you post the indy that displays the price in the upper right of the chart?
 
 
  • Post #4
  • Quote
  • Edited 12:20pm Apr 29, 2010 11:06am | Edited 12:20pm
  •  Rastaman
  • Joined Sep 2008 | Status: Member | 2,298 Posts
Quoting tomhliles
Disliked
the problem is the object names

ObjectCreate("Lines" + i,OBJ_HLINE,0,0,R[i]);

i edited to this

ObjectCreate(Symbol()+Timeframe+"Lines" + i,OBJ_HLINE,0,0,R[i]);

now you can use 1 indy per timeframe per symbol
Ignored


Many, Many thanks for your talent.
I have been trying to get this to work for months.

Looks good on D1 down to M5.
The only bug I could find, is that now when I delete the indicator it leaves some lines on the chart.
Its not a problem though.

Shows some nice Price Action around these areas and seems to hold up reasonably well with MN & W1 when moved down to H4.




Greatly appreciated.
Attached Image (click to enlarge)
Click to Enlarge

Name: pic.jpg
Size: 152 KB
Starting to see instead of just looking.
 
 
  • Post #5
  • Quote
  • Apr 29, 2010 11:08am Apr 29, 2010 11:08am
  •  Rastaman
  • Joined Sep 2008 | Status: Member | 2,298 Posts
Quoting Fish
Disliked
Rasta:

Can you post the indy that displays the price in the upper right of the chart?
Ignored
Sure, it is only an exe file though.
Attached File(s)
File Type: ex4 THV3 MMPrice.ex4   3 KB | 411 downloads
Starting to see instead of just looking.
 
1
  • Post #6
  • Quote
  • Apr 29, 2010 1:52pm Apr 29, 2010 1:52pm
  •  Fish
  • | Joined May 2009 | Status: Member | 34 Posts
Thanks...I'm looking for something that does that but shows the value of a moving average or RSI value, etc. as text on the chart and not in the data window. I posted something for this but no responses there. I could easily modify this is if I could see the code...

Thanks
 
 
  • Post #7
  • Quote
  • Apr 29, 2010 8:34pm Apr 29, 2010 8:34pm
  •  Rastaman
  • Joined Sep 2008 | Status: Member | 2,298 Posts
Quoting Fish
Disliked
Thanks...I'm looking for something that does that but shows the value of a moving average or RSI value, etc. as text on the chart and not in the data window. I posted something for this but no responses there. I could easily modify this is if I could see the code...

Thanks
Ignored
Well, Look no more.


EDIT:
Nope this is in a separate window.

Maybe try and modify the spread indi.
Attached Image
Attached File(s)
File Type: mq4 RSI+MA+LABEL.mq4   5 KB | 455 downloads
File Type: mq4 Spread.mq4   3 KB | 423 downloads
Starting to see instead of just looking.
 
 
  • Post #8
  • Quote
  • Apr 29, 2010 8:43pm Apr 29, 2010 8:43pm
  •  Fish
  • | Joined May 2009 | Status: Member | 34 Posts
Thanks my friend!
 
 
  • Post #9
  • Quote
  • Apr 29, 2010 9:09pm Apr 29, 2010 9:09pm
  •  luxinterior
  • | Joined Nov 2006 | Status: MT4 EA Coder Since 2006 | 300 Posts
Quoting Rastaman
Disliked
The only bug I could find, is that now when I delete the indicator it leaves some lines on the chart.
Its not a problem though.
Ignored
I fixed this for you. Enjoy!

Lux
Attached File(s)
File Type: mq4 Levels.mq4   5 KB | 422 downloads
MT4 EA, Indicator and Alert Coder Since 2006
 
 
  • Post #10
  • Quote
  • Last Post: Apr 30, 2010 4:41am Apr 30, 2010 4:41am
  •  Rastaman
  • Joined Sep 2008 | Status: Member | 2,298 Posts
Quoting luxinterior
Disliked
I fixed this for you. Enjoy!

Lux
Ignored

Greatly appreciated, although it was no big deal.

Many thanks and wishing you good trading.
Starting to see instead of just looking.
 
 
  • Platform Tech
  • /
  • How to change indicator to allow multiple instances on one chart
  • Reply to Thread
0 traders viewing now
Top of Page
  • 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 / ©2023