| New signals service! | |
|
|||||||
| 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 |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Order line code help please
Normally pending order lines, current trades, TP's and SL's run the entire horizontal length of chart and I was wondering if there is a way to write logic for EA so that the lines are 'compartmentalized' into a smaller sector surrounding current price.
Perhaps at the very least, I don't understand why MT4 does not have the lines terminate where the 'chart shift' point is. I want this because, if you have quite a few orders etc, it tends to clutter the screen and interfere with any graphics you might have showing on the RHS. Any help of sample code would be appreciated Thanks OceanFx |
|
|||
|
The lines you mention can be switched off by unclicking 'Show Trade Levels' from the 'Tools' menu.
Once done, 'custom' trade lines could be coded into an EA, so what you ask is possible to do, but each EA would need a 'custom refit'... |
|
|||
|
Hmmm thanks
Thanks Guys
I was aware that you can switch off the 'show order lines' in Tools but I didn't think about approaching it from a 'new indicator' point of view. Another case of trying to bend the existing setup when I should have ripped the whole thing out and started over. I suppose the most efficient method would be to write a small indicator maybe named "Show orders" which 'senses' present and pending trades etc placing the lines wherever you wish? Hmm, OK.....now if only I could code. LOL It's OK, I have a C++ programmer I am paying but he is a bit lost with MT4 and I required input so thanks again.However, if anyone can knock up a piece of sample code to guide him on his way, it would be helpful. Thanks! OceanFx |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to code? | samahdi | Metatrader Programming | 1333 | Today 03:46 AM |
| Interesting candle SR horizontal line - need your expertise to code | maria77 | Indicators - Metatrader 4 | 40 | 07-06-2008 02:48 PM |
| How to code this? | iscuba11 | Metatrader 4 mql 4 - Development course | 1 | 08-03-2007 04:22 PM |
| Open Order and Close Order | Sean0 | Expert Advisors - Metatrader 4 | 3 | 07-04-2007 05:41 PM |
| How... change a solid line to a dotted line | Jetheat | Metatrader 4 | 8 | 06-26-2007 08:55 AM |