View Single Post
  #3 (permalink)  
Old 06-22-2005, 02:02 PM
TraderSeven's Avatar
TraderSeven TraderSeven is offline
Sophomore
 
Join Date: Jun 2005
Posts: 86
Thanks: 0
Thanked 1 Time in 1 Post
TraderSeven is a glorious beacon of lightTraderSeven is a glorious beacon of lightTraderSeven is a glorious beacon of lightTraderSeven is a glorious beacon of lightTraderSeven is a glorious beacon of light
Default

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
Reply With Quote

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now

Main Menu

Economic Forecast