Custom Indicator Labling Problem.
  #1 (permalink)  
Old 01-27-2008, 12:22 PM
Freshman
 
Join Date: Dec 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
faizy999 is on a distinguished road
Arrow Custom Indicator Labling Problem.

I created a custom indicator with seperate window
but when i try to create object in that window i was unable to create it.
meanwhile object created in above windows screenshot included.

Code:
IWI = WindowFind("MInfo"); if ( ObjectFind("Symbol Lable") != 0 ) { ObjectCreate( "Symbol Lable", OBJ_LABEL, IWI, 0, 0 ); ObjectSetText("Symbol Lable","Just Checking the Positions", 14, "Arial", Red); ObjectSet( "Symbol Lable", OBJPROP_XDISTANCE, 30 ); ObjectSet( "Symbol Lable", OBJPROP_YDISTANCE, 20 ); ObjectSet( "Symbol Lable", OBJPROP_BACK, true ); }else{ ObjectSetText("Symbol Lable","Just Checking the Positions", 14, "Arial", Red); ObjectSet( "Symbol Lable", OBJPROP_XDISTANCE, 30 ); ObjectSet( "Symbol Lable", OBJPROP_YDISTANCE, 20 ); }
when creating the object i try to use the index of that windows please analyze the code. the code compiles perfectly .

Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
EA from Custom Indicator Izzytrader MetaTrader and ZeroCode 1 08-12-2008 12:33 PM
I need custom RSI indicator buangcla Indicators 10 06-01-2008 08:28 AM
Custom indicator Dave77 MetaTrader and ZeroCode 16 07-19-2007 02:05 PM
RSI - MQL II Indicator Statement Problem Dave77 MetaTrader and ZeroCode 2 07-16-2005 11:33 PM


All times are GMT. The time now is 11:39 PM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now

Main Menu

Economic Forecast