|
|||||||
| 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 |
|
||||
|
Error
Quote:
Somewhere in your own code, you have to call this watermark routine. Just include: watermark(); Cheers
__________________
Better being out, wishing to be in than being in and wishing to be out..... |
|
|||
|
Quote:
It's not a real error, you can run the ex4 as it is... Last edited by Michel : 07-12-2007 at 09:38 PM. Reason: I am stupid |
|
||||
|
I have tried sticking the watermark(); in all parts of the program (Top, Middle, and near the bottom) and get a global error all the time.
Without this being resolved, the label will not get located on the program. As they say in the South, I are confused? Dave |
|
||||
|
Quote:
![]() But then again, it's not that dangerous though, it's just a display routine. Even if you called it at every tick, the worst thing that could happen is performance degrade during backtesting. iScuba, if you want it fixed, post the EA, or PM me (or Michel) Cheers
__________________
Better being out, wishing to be in than being in and wishing to be out..... |
|
|||
|
Quote:
Sorry to have interfere... |
|
||||
|
Can you give me a sample of how to call this function Watermark (); so I may learn?
Can I just put the following, and will it work?? ObjectCreate("Forex-Grail", OBJ_LABEL, 0, 0, 0); ObjectSetText("Forex-Grail", "Forex-Grail", 11, "Lucida Handwriting", RoyalBlue); ObjectSet("Forex-Grail", OBJPROP_CORNER, 3); ObjectSet("Forex-Grail", OBJPROP_XDISTANCE, 5); ObjectSet("Forex-Grail", OBJPROP_YDISTANCE, 10); return(0); I just tried the above, it compiled with no errors, but nothing shows on the graph! Frustrating. I have a good working ea that is still in the test stages, and do not want to reveal the code of the ea. Dave <><<< Last edited by iscuba11 : 07-12-2007 at 11:35 PM. |
|
|||
|
Try this.. you will find it at the bottom left of the chart
PHP Code:
|
|
|||
|
or this.....
PHP Code:
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Has anyone got this error? | wolfe | Metatrader 4 | 6 | 07-14-2007 12:07 AM |
| Error | JoZo | General Discussion | 2 | 06-28-2006 07:45 PM |
| has anybody seen this message on MT ? | trevtrade | Suggestions for Trading Systems | 3 | 03-24-2006 12:16 PM |