Forex
Google
New signals service!

Go Back   Forex Trading > Programming > Metatrader Programming


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #321 (permalink)  
Old 03-16-2008, 11:26 AM
Member
 
Join Date: Feb 2008
Posts: 31
Berkis is on a distinguished road
Question How to ??

Maybe someone can provide info how to put such indicators as signal bars, rsi bars and others to the indicator window, below the main chart ?

Thanks in advance
Attached Images
File Type: jpg untitled.JPG (45.1 KB, 137 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #322 (permalink)  
Old 03-16-2008, 03:54 PM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 2,242
fxbs is on a distinguished road
did you tryed #property indicator_chart_window change to #property indicator_separate_window?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #323 (permalink)  
Old 03-16-2008, 04:22 PM
Member
 
Join Date: Feb 2008
Posts: 31
Berkis is on a distinguished road
Quote:
Originally Posted by fxbs View Post
did you tryed #property indicator_chart_window change to #property indicator_separate_window?
If i have to change it in the code, then the answer is I can't! cause its *.ex files. If it's only way to do that then only the creator of indy can help, i guess
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #324 (permalink)  
Old 03-17-2008, 01:19 AM
Linuxser's Avatar
Moderator
 
Join Date: May 2006
Location: Helliconia (Spring)
Posts: 3,322
Blog Entries: 46
Linuxser has disabled reputation
I believe you´ve answered your own question.

Maybe this thread could help a little.
__________________
Elite Manual Trading | Portfolio | Calendar | Suggestions to improve the forum | My Blog

Remember: Signatures must have three lines as maximum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #325 (permalink)  
Old 03-17-2008, 07:15 AM
Member
 
Join Date: Feb 2008
Posts: 31
Berkis is on a distinguished road
Quote:
Originally Posted by fxbs View Post
did you tryed #property indicator_chart_window change to #property indicator_separate_window?
This was hellpful !

Also i found an option how to put signal bars and sar bars to put down into indy chart. Cja put this option in the options, someone mentionid in another thread.
All solved
Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #326 (permalink)  
Old 03-19-2008, 01:19 AM
Member
 
Join Date: Jan 2006
Posts: 30
DooMGuarD is on a distinguished road
functions

hi...

in MQL4 funtion can return array?

like

double *MyFunc()
{
double A[];

// make A calculationhere

return(A);
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #327 (permalink)  
Old 03-19-2008, 02:51 AM
MANSTIR's Avatar
Senior Member
 
Join Date: Nov 2007
Posts: 143
MANSTIR is on a distinguished road
are my calculation is correct?

double yesterdayHigh = iHigh(NULL, 0, Current + 1);
double yesterdayLow = iLow(NULL, 0, Current + 1);
double yesterdayClose = iClose(NULL, 0, Current + 1);
double pivot = (yesterdayHigh + yesterdayLow + yesterdayClose) / 3;
double todayOpen = iOpen(NULL, 0, Current);
double todayGap = (todayOpen - pivot + pivot); <---it's correct?
TakeProfit = MathAbs(todayGap);

please help me?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #328 (permalink)  
Old 03-19-2008, 03:36 AM
Linuxser's Avatar
Moderator
 
Join Date: May 2006
Location: Helliconia (Spring)
Posts: 3,322
Blog Entries: 46
Linuxser has disabled reputation
Quote:
Originally Posted by DooMGuarD View Post
hi...

in MQL4 funtion can return array?

like

double *MyFunc()
{
double A[];

// make A calculationhere

return(A);
}
Yes of course.

Can calculate different arrays.

Something like:

Quote:
for(i=0; i<limit; i++)
MACDBuffer[i]=iMA(NULL,0,FastMA,0,MA_Method,Applied_Price,i)-iMA(NULL,0,SlowMA,0,MA_Method,Applied_Price,i);
//---- signal line counted in the 2-nd buffer
for(i=0; i<limit; i++)
SignalBuffer[i]=iMAOnArray(MACDBuffer,Bars,SignalEMA,0,MA_Method, i);
__________________
Elite Manual Trading | Portfolio | Calendar | Suggestions to improve the forum | My Blog

Remember: Signatures must have three lines as maximum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #329 (permalink)  
Old 03-19-2008, 03:45 AM
Linuxser's Avatar
Moderator
 
Join Date: May 2006
Location: Helliconia (Spring)
Posts: 3,322
Blog Entries: 46
Linuxser has disabled reputation
Quote:
Originally Posted by MANSTIR View Post
double yesterdayHigh = iHigh(NULL, 0, Current + 1);
double yesterdayLow = iLow(NULL, 0, Current + 1);
double yesterdayClose = iClose(NULL, 0, Current + 1);
double pivot = (yesterdayHigh + yesterdayLow + yesterdayClose) / 3;
double todayOpen = iOpen(NULL, 0, Current);
double todayGap = (todayOpen - pivot + pivot); <---it's correct?
TakeProfit = MathAbs(todayGap);

please help me?
My choice would be:

double todayGap = 2*pivot+todayOpen ; <---it's correct?
__________________
Elite Manual Trading | Portfolio | Calendar | Suggestions to improve the forum | My Blog

Remember: Signatures must have three lines as maximum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #330 (permalink)  
Old 03-19-2008, 04:44 AM
MANSTIR's Avatar
Senior Member
 
Join Date: Nov 2007
Posts: 143
MANSTIR is on a distinguished road
===deleted===

Last edited by MANSTIR; 03-21-2008 at 12:37 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
automated close order, close, eas, forex, learn mql4, learn mql4 video, mql4 learning, OrderCloseBy, profit, reach, secure profit function, T101_v1.11_orest_IBFXm.mq4, learning mql4

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
Learning Cycles For New Traders Dan7974 General Discussion 350 01-18-2008 07:04 PM
Learning to code for autotrading GoatT Metatrader Programming 8 01-10-2007 09:55 PM
Self learning expert mrtools Expert Advisors - Metatrader 4 32 10-22-2006 06:29 PM


All times are GMT. The time now is 08:40 AM.



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