Forex



Go Back   Forex Trading > Training > Metatrader > Metatrader 4 mql 4 - Development course > Questions
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 12-29-2007, 07:35 PM
droesparky's Avatar
Senior Member
 
Join Date: Apr 2006
Posts: 429
droesparky is on a distinguished road
Help needed

Can you make the different levels on an indicator different colors.
I tried but there was errors.

here is what I want to do



#property indicator_level1 75
#property indicator_levelcolor White
#property indicator_level2 50
#property indicator_levelcolor Red
#property indicator_level3 25
#property indicator_levelcolor White
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 12-29-2007, 07:49 PM
Administrator
 
Join Date: Sep 2005
Posts: 20,059
Blog Entries: 241
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
It was described here http://www.forex-tsd.com/metatrader-...indicator.html
By the way it is your thread
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 12-29-2007, 08:17 PM
Linuxser's Avatar
User Root
 
Join Date: May 2006
Location: Helliconia (Winter)
Posts: 4,410
Blog Entries: 56
Linuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond repute
Also,

you can take a look at this thread form post 50 and son on.

As with MQL4 you have :

#property indicator_level1
#property indicator_level2
#property indicator_level2
etc

#property indicator_color1
#property indicator_color2
#property indicator_color3

etc

You don't have

#property indicator_levelcolor1 an so on

There is only one chance to set the indicator color.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 12-29-2007, 08:24 PM
droesparky's Avatar
Senior Member
 
Join Date: Apr 2006
Posts: 429
droesparky is on a distinguished road
I am trying to make the level lines different colors not the indicator itself.

the Juice indicator in that post has the levels all the same color.
I understand the following ok
#property indicator_levelcolor Red

how ever I would like the 50 line one color and the 75 line another if that is possible.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 12-29-2007, 08:36 PM
droesparky's Avatar
Senior Member
 
Join Date: Apr 2006
Posts: 429
droesparky is on a distinguished road
Quote:
Originally Posted by Linuxser View Post
Also,


#property indicator_color1
#property indicator_color2
#property indicator_color3

etc

You don't have

#property indicator_levelcolor1 an so on

There is only one chance to set the indicator color.
Thanks Linuxser

So You cant have different level colors in a indicator, but you can change the color of the indicator as it crosses a level.
Is that correct?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #6 (permalink)  
Old 12-29-2007, 08:45 PM
droesparky's Avatar
Senior Member
 
Join Date: Apr 2006
Posts: 429
droesparky is on a distinguished road
here is what Im trying to do if its possible.
Attached Images
File Type: gif lines.gif (10.1 KB, 139 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #7 (permalink)  
Old 12-29-2007, 08:55 PM
Senior Member
 
Join Date: Oct 2005
Location: Porto/Portugal
Posts: 333
hellkas is on a distinguished road
Quote:
Originally Posted by droesparky View Post
here is what Im trying to do if its possible.
Hi droesparky..

Could u please tell me what's the blue line in your chart?

If it is an indicator, could u please post it?

Thank you and Happy New Year!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #8 (permalink)  
Old 12-29-2007, 09:32 PM
droesparky's Avatar
Senior Member
 
Join Date: Apr 2006
Posts: 429
droesparky is on a distinguished road
Blue line is SSL indicator created by Kalenzo.
Your Welcome
Attached Files
File Type: mq4 SSL.mq4 (2.0 KB, 34 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #9 (permalink)  
Old 12-30-2007, 12:45 AM
Linuxser's Avatar
User Root
 
Join Date: May 2006
Location: Helliconia (Winter)
Posts: 4,410
Blog Entries: 56
Linuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond repute
Quote:
Originally Posted by droesparky View Post
here is what Im trying to do if its possible.
I don't think so (read my previous post) because levelcolor is limited to only one.

You can create objects in the same place where you want the levels. And then set the colors for every object.

RSIOMA indicator is a good example about objects like levels.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #10 (permalink)  
Old 12-31-2007, 03:52 PM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 3,272
fxbs is on a distinguished road
and if you add unicnumbergenerator (in mladens StochasticColor102classicB - stoch. thread) objects won't appear and disappear(step on each other)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
SSL.mq4


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
EA Needed fxwealth Metatrader 4 12 11-12-2009 08:03 PM
Little help needed deaps Indicators - Metatrader 4 2 09-02-2007 07:26 PM
Help Needed for EA Kntcbw General Discussion 1 02-08-2007 11:05 AM
help needed iliaazshareef General Discussion 4 06-20-2006 03:53 PM
help needed iliaazshareef Suggestions for Trading Systems 2 05-01-2006 07:27 AM


All times are GMT. The time now is 02:21 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.