Double entry rules
![]() |
|
||||
|
A crossover. That's a part of the problem. But not even really needed.
The 1st buy will indeed be when a price crosses above the MA. (if a gap is also seen as a crossover) But opening above the MA is also a buy. But there will be only 1 buy per day. Bouncing prices could trigger a buy 10 times a day. So simply put I want the following: If price>MA AND First_Trade_of_the_day = TRUE THEN buy. Other question. Am I allowed to ask a ton of coding questions on this board? Or is it more for exchanging trading ideas. If yes then maybe a seperate forum could keep other sections less poluted. I need get some help to get started with the MT4 code. ATM it's a bit over my head. MT4 is spaghetti code. I'm more the type of person that splits things up in subrountines.
__________________
If your system fails just swap long & short :whistling |
|
||||
|
I'm not so sure this question is in the right forum. It has nothing to do with ZeroCode and doesn't fit elswhere either.
--- On other platforms an MA simply plots by typing MA(some vars here) In MT4 most people recode an MA thats hardcoded in MT4 already. And even if the standard MA is used I see all kind of loops to plot it. So my question is: I want an example of the absolute minimum to plot a MA
__________________
If your system fails just swap long & short :whistling |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Boll Squeeze with JMA for MT4 | dongading | Indicators | 16 | 09-19-2007 08:30 AM |
| Merging orders | TraderSeven | MetaTrader and ZeroCode | 7 | 12-10-2005 01:19 AM |
| Help with double CCI code | shatteredgently | MetaTrader and ZeroCode | 0 | 06-22-2005 07:23 PM |
All times are GMT. The time now is 02:38 AM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright ©2000 - 2008, 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












You can even ask a million tons of questions! But be sure you categorize it in proper forum. However, I've seen you putting all threads properly already. 
Linear Mode


