| 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 |
|
|||
|
Please help to update the code of expert.
There is a simple expert. Code is clear and simple too, but i have a big problem - expert got only ONE try to Open/Close order.
Can somebody help to fix it? Expert must try 5-10 times to open/close order. Maybe n=number of try, and please without "while". Thanks a lot. |
|
|||
|
My code for 'adjust lots after loss',need help..thanks
My code below for 'adjust lots after loss', but it did an error massage "incorrect start position 0 for ArraySort function" during Testing. Anyone can help me to fix it? need help..
PHP Code:
Last edited by tommy0418; 10-16-2008 at 12:45 AM. |
|
|||
|
how do you use Fractal?
lets say i only want the fractal up? i am confuse.. is fractal up mode upper? and also about the shift? below is the code i place to check the newest fractal up iFractals (Symbol (), PERIOD_H1, MODE_UPPER, 1); is this correct? or should i put 0 in the shift? |
|
|||
|
0 shift is the current bar that is still forming, 1 is the previous bar that has already closed. It depends which one you want.
Good luck Lux
__________________
Build An Expert Advisor. FREE E-course As Seen On TV ![]() ForexArea.com Users of Gap Trader from 'Forex-Assistant' MUST Read This |
|
|||
|
Not sure if you're understanding the shift variable correctly.
The shift will constantly be changing so you must decide when you want to check for a signal. As I said 0 will ALWAYS refer to the currently forming bar and 1 will ALWAYS refer to the bar preceding the currently forming bar. Looking at your pic it looks like shift 4 and 6 but obviously as soon as the next bar would open those shifts would change, hence the name ![]() Good luck Lux
__________________
Build An Expert Advisor. FREE E-course As Seen On TV ![]() ForexArea.com Users of Gap Trader from 'Forex-Assistant' MUST Read This |
|
|||
|
Quote:
so what code should i place that it would read the latest fractal up and down? |
|
|||
|
Just loop back from 0 until the value is not 0 or NULL (can't remember off the top of my head).
Lux
__________________
Build An Expert Advisor. FREE E-course As Seen On TV ![]() ForexArea.com Users of Gap Trader from 'Forex-Assistant' MUST Read This |
|
|||
|
appreciate who can help me on this, i just want to attach this indicator to main chart, when I change indicator_seperate_window to indicator_chart_window,
but this indicator become weird when attached to main chart window. need your guys expertise to help me on this. Last edited by Linuxser; 10-18-2008 at 04:45 PM. Reason: Copyrighted indicator |
![]() |
| Bookmarks |
| Tags |
| candle time, CHinGsMAroonCLK, coders guru, Eur_harvester.ex4, expert adviser, expert advisor, forex, how to code, indicator, I_XO_A_H, kehedge, mechanical trading, metatrader command line, programming, 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 |