Code request HELP
|
|||
|
Hi there,
I wonder if someone has some code or can develop a code with the following conditions: (trend following) Moving Average: - Period: 90 - Shift: 0 - Mode: Simple The code must test the candlestick bar status for 2 different timeframes: 1H and 4H Rules: NO ORDER: Wait for the candlestick cross the MA on 1H time frame BUY: When there is a candlestick totally above the MA on 1H time frame (lower price of candlestick of the closed bar above the MA) it must check on 4H timeframe if the candlestick is also totally above the MA (lower price of candlestick of the closed bar above the MA). SELL: When the candlestick totally bellow the MA on both 1H and 4H time frames. So, I need: - A function that returns a value if the NO ORDER condition is found; - A function that, when NO ORDER condition is false, returns another value when the candlestick is totally above MA on both 1H and on 4H - A function that, when NO ORDER condition is false, returns another value when the candlestick is totally bellow MA on both 1H and on 4H Can anyone help me? Regards |
![]() |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| request... | joshua33 | Indicators | 0 | 08-28-2008 05:52 PM |
| Request for help to Code Interest Rate Indicator | popeye | Indicators | 0 | 04-04-2008 04:08 PM |
| request for EA code | goldstock | System Coding | 0 | 03-10-2008 04:40 PM |
| indicator request please | knossos | Indicator Coding | 0 | 09-13-2007 04:38 PM |
| Custom Code request : Action breakeven stop Automatic | Digs | Trading Systems | 0 | 09-24-2006 07:43 AM |
All times are GMT. The time now is 07:32 PM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now







Linear Mode


