| 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 |
|
|||
|
Hello,
Thanks for the reply. So how is it really done ? What I need to do is to check if the bar has ended on a different time frame. For exemple, with the chart on 30 MIN I want to check if we have a new bar on the 240 MIN Thanks! |
|
|||
|
Do you plan to use for the checkin of the fractal system?...
|
|
||||
|
Well I'm back for help again lol but there's no suprise there
could someone please post the code for opening a position 1min after a new bar is open. I have been trying to do this but don't know where to start. I have been looking at it for the cat of nine tails experiment it migt be a waste of energy but we have to try these things. unless someone else have done this before if please let be know you results. T1=1 min T2=2min etc if (minute() =T1>open && Price > open = Long); I'm rubbish at this coding lark ![]() |
|
|||
|
How can I let one indicator to show another indicator's Multi Timeframe
situation and give us alert? For example: A indicator Only one timeframe situation shown)functionA (it's a complex program) B Indicator Show A indicator's different timeframe situation)functionA M5 situation functionA M15 situation functionA M30 situation functionA H1 situation functionA H4 situation functionA D1 situation ...... Best regards Franky Last edited by frankychen; 10-11-2008 at 05:31 AM. |
|
|||
|
You could try looking in the MetaEditor help file at the iCustom function. That should help you accomplish what you're after.
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:
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:
I don't think that to use a timer is a good idea. For this kind of problem, or Requote etc, usually I set a flag at the open of the bar, and this flag is reset when the order is opened. Until the position is opened, a try is done every tick. Something like this: PHP Code:
PHP Code:
|
![]() |
| 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 |