| 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 |
|
|||
|
Still the same results. However as I said before, it works for "Custome Indicators" but not for "Expert Advisors"
Here is the new code #property copyright "Copyright © 2006, MetaQuotes Software Corp." #property link "http://www.metaquotes.net" int bar = 0; int init() { return(0); } int deinit() { return(0); } int start() { if(Bars > bar) { bar = Bars; Alert(High[1]); Alert("Bars = " + Bars); } return(0); } |
|
|||
|
mmf,
why do you think that it will be a profitable system? Do you have manual backtest results? I think this will kill an account. From looking at the code, I think Solar Wind repaints the past. Maji Last edited by Maji; 10-12-2006 at 04:20 AM. |
|
|||
|
I read THAT code I can`t understand the way it works but follow me through the index found that changed its signs and i found the solution to that>
do at the 0.2 level and the level at the 0.2-and in contact with the positive and buying in contact with the negative sale. Last edited by mmf; 10-12-2006 at 04:37 AM. |
|
||||
|
Quote:
http://www.metatrader.info/node/80 |
|
|||
|
Help needed - How to code MQL MT4 for Breakeven after "x" pips?
Hi,
Thanks in advance. Does anyone know the code MQL MT4 to incorporate a Breakeven after profit has cross "x" pips? Thanks thanks thanks. ed Last edited by eooojj; 12-02-2006 at 03:25 PM. |
|
|||
|
Piece of code that should work
This little piece of code is looking to give the % change of the current bar as compared to the daily bar open. I don't know why it won't work...I can get it to output AmtChange and also O (which is the open) and the numbers given are correct. However when I combine them into the line (AmtChange/O)/*100 the code does not output anything. If anyone can find my problem please point it out to me before I pull my hair out!!!
int start() { i = Bars; AmtChange = 0; while(i >= 0) { if(i==Bars) { O=Open[i]; } else { if(TimeDayOfWeek(Time[i])!=TimeDayOfWeek(Time[i+1])) { NO=Open[i]; O=NO; } } AmtChange = Close[i] - O; DayPctChange[i] = (AmtChange/O)*100; i--; } return(0); } Thank you. BW |
|
|||
|
I just wanted to add that I was writing a correlation indicator last week that exhibited similar behavior...I checked every number going into the final calculation, but for some reason it was not outputting anything. Is there some kind of syntax violation I'm repeatedly committing? Again, thanks for any help offered.
BW |
|
|||
|
Quote:
|
|
|||
|
Quote:
BW |
![]() |
| 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 |