| 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 (1) | Thread Tools | Display Modes |
|
|||
|
Quote:
Read and use the search feature without any restriction!!! Feel free to ask anything ... A lot of great contributors/helpers here. FerruFx
__________________
THE HEART of FOREX & THE PROBABILITY METER - Trade with 100% confidence and ... Stress Less!!! Coding services: Experts Advisors, indicators, alerts, etc ... more info by PM NEW: video presentation of the Probability Meter ... 24hrs action on the website |
|
|||
|
Quote:
Changed in Red |
|
|||
|
Cool, that did it!
How about this indicator.... Could it be modified to have the prices show different colors depending on how they open? Like if it opens higher than the previous bar the price would be green, if lower, then red, and if even then yellow? With these colors being selectable? Also, could you extend it to show 10 openings instead of just 6? Also on the EA we just fixed, How would I put an input setting like, "Pips to Activate Trailing Stop". I have this in another EA but unsure how to code it. Last edited by fireslayer26; 07-24-2008 at 04:28 PM. |
|
|||
|
Quote:
The best idea is to enter one of these into the Metaeditor, then click on the word asnd then press F1. Doing so will display the help and list all of the order functions. Happy programming, Hiachiever |
|
|||
|
Using OrderComment
Be careful when using OrderComment() to identify trades. Sometimes the broker will add characters to the comment.
It is best to use if (StringFind(OrderComment(), UserComment, 0) > 0) { // order identified by UserComment found in OrderComment } instead of if (OrderComment() == UserComment) { // order might be identified by UserComment // if OrderComment was not changed by broker } Robert |
![]() |
| Bookmarks |
| Tags |
| candle time, CHinGsMAroonCLK, coders guru, expert advisor, forex, how to code, I_XO_A_H, mechanical trading, trading |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/metatrader-programming/554-how-code.html
|
||||
| Posted By | For | Type | Date | |
| Need an experienced programmer? - Page 2 | Post #0 | Refback | 09-24-2008 07:24 AM | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to code this? | iscuba11 | Metatrader 4 mql 4 - Development course | 1 | 08-03-2007 05:22 PM |