Forex
Google
New signals service!

Go Back   Forex Trading > Metatrader Training > Metatrader 4 mql 4 - Development course > Questions


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 (2) Thread Tools Display Modes
  #481 (permalink)  
Old 01-31-2007, 03:08 AM
Junior Member
 
Join Date: Jan 2007
Posts: 2
jos4x is on a distinguished road
Slope

Can somebody help? I need to create an Indicator that show me the change of slope for any moving average. In other words, when changes its steep from down to up and viceversa.

Thanks,

Jos4x
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #482 (permalink)  
Old 01-31-2007, 03:37 AM
boostrade's Avatar
Member
 
Join Date: Dec 2006
Posts: 43
boostrade is on a distinguished road
macd signal cross macd value

Quote:
Originally Posted by codersguru
Hi folks,

I've got a lot of private messages asking me for helping with some pieces of code.

Here you can post your questions related to MQL4, and I'll do my best to answer them.

Dear Codersguru,

First of all, thank you very much for ur openness in sharing your knowledge to a novice like me. I've learned a lot from you.
I want to make an indicator with arrows and maybe an ea that shows when macd signal line across up or down macd value bar. Can you tell me how to do it? Thank you very much.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #483 (permalink)  
Old 02-01-2007, 12:49 AM
Junior Member
 
Join Date: Dec 2006
Posts: 1
Osav is on a distinguished road
Hi,
I am new to MQL4 and would like to write a program that will compare the current Histo bar to the previous Histo bar in MACD and generate an alert saying Histo bar is longer (or shorter) than previous Histo bar. So far I have not been able to figure it out. Any help will be very much appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #484 (permalink)  
Old 02-06-2007, 10:10 PM
accrete's Avatar
Member
 
Join Date: Jan 2006
Location: The WET! Coast of Oregon, USA
Posts: 69
accrete is on a distinguished road
Question Code for offsetting Arrow away from Candle?

Hi there, i have searched through FXtsd for anything on what the code for offsetting Arrow away from Candle would be and have found nothing. Thought i'd come to this "Ask" thread and ask ... grin.

All i want to do is place the arrows further away from the candles so they don't block the view of price action.

Is there just a simple tweak to the object draw code to do this?

Thank you in advance,
Thom
__________________
Find a way to make someone's day
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #485 (permalink)  
Old 02-09-2007, 08:43 AM
Member
 
Join Date: Feb 2006
Location: malaysia
Posts: 44
dreamer is on a distinguished road
How to make EA open buy position eventhough there is sell position still open and vice versa? Buy when there is buy signal and sell when there is sell signal
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #486 (permalink)  
Old 02-09-2007, 01:51 PM
primajaya's Avatar
Senior Member
 
Join Date: Aug 2006
Posts: 167
primajaya is on a distinguished road
Need EA source code..

Dear Coders Guru..
You're my real Guru...

I try to understand your lesson, but my limited knowledge and since I'm not a programmer also my poor english make me difficult to understand and learn MQL programing..

can you help me to make an source code for the EA, you only give me the source code..then I will enter the formula by myself
So I only enter the formula when to execute sell or buy and when to close the order.. that's all, sorry for my poor english.

Regards
Pj
__________________
You said "why?".. I said "why not?!"
Broker for 5$ Free
Trading system 4free
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #487 (permalink)  
Old 02-09-2007, 02:10 PM
Administrator
 
Join Date: Sep 2005
Posts: 16,323
Blog Entries: 108
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
Sorry that i am answering as i am not Guru and not Coder.

We have Templates to create EAs and Indicators. It is source code variations.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #488 (permalink)  
Old 02-10-2007, 02:27 AM
primajaya's Avatar
Senior Member
 
Join Date: Aug 2006
Posts: 167
primajaya is on a distinguished road
Quote:
Originally Posted by newdigital
Sorry that i am answering as i am not Guru and not Coder.

We have Templates to create EAs and Indicators. It is source code variations.
Thank's newdigital...
__________________
You said "why?".. I said "why not?!"
Broker for 5$ Free
Trading system 4free
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #489 (permalink)  
Old 02-10-2007, 12:36 PM
Junior Member
 
Join Date: Jun 2006
Posts: 10
reiver is on a distinguished road
Can you display text/numbers in colour?

Is it possible to display the text/numbers on an indicator in different colours? If so, how? As an example, I want to show the relevant numbers on the absolute strength indicator in the same colour as the lines in the window. Any help/suggestions would be gratefully received.

Thanks
Attached Images
File Type: gif abs strength.gif (13.9 KB, 198 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #490 (permalink)  
Old 02-15-2007, 02:28 AM
Senior Member
 
Join Date: Oct 2006
Posts: 202
aegis is on a distinguished road
I have an EA that does not backtest correctly. The backtest only shows one trade, even though more trades were generated than that. If I start the backtest on January 1 to present, it will show the first trade generated on or after January 1. If, for example. the first trade was opened on January 3rd and closed on January 8th, it will only show that trade and no more after that. I then have to restart the backtester from January 8 to present to get the next trade to show up on the backtester. It won't show all the trades at once. No problems show up in the journal tab. Any ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
histogram, forex

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

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/questions/270-ask.html
Posted By For Type Date
OzFx System:) - Page 639 This thread Refback 06-21-2008 09:53 PM
Forex SRDC Sidus Sibkis EA MT4 Forum OTCSmart This thread Refback 12-08-2007 11:46 AM


All times are GMT. The time now is 07:22 PM.



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