View Single Post
  #7 (permalink)  
Old 06-27-2005, 06:21 AM
Dave77 Dave77 is offline
Sophomore
 
Join Date: Jun 2005
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Dave77 is a jewel in the roughDave77 is a jewel in the roughDave77 is a jewel in the roughDave77 is a jewel in the rough
Cool

Scorpion I phrased my program wrong. What I need is a crossover condition where a crossover takes place and then the ma averages (gap) grows apart from each other .0005 pips (Variable) (difference between one moving (2 Exp MA average) and the other (30 LWMA) within the last 3 (Variable) candles before a buy or sell signal takes place.

The program is not working right with a cross over + .0005 pips filter. I need the Moving average gap variable filter to signal a buy or sell.

This should solve one of my biggest problems I am having so far. Could I ask that you rephrase that part of my program.


I wish there was a school on coding this stuff. I asked you a question before on the phrasing to check to see if current price is lower (or higher) than the lowest low during 10 previous candles.

Your answer was:

PriceBid<Lowest(Mode_low,10,10) and no doubt Pricebid>Highest(Mode_high,10,10)

Is this to be placed after: IsBuying=(ma2_1) etc. etc. and (ma2_0) etc. etc., Likewise IsSelling= . . . . . in my program??

I have attached the MQL File. Thanks Scorpion. You do not realize how frustrating it is not to be able to figure this programming stuff out on my own. Have you thought about writing a book on MQL for traders, by example?? If I get this program working right in the near future, tell me what you like to drink, and I will send you a bottle of it!!
Attached Files
File Type: mql MASTER FOREX PROGRAM-3B.mql (5.3 KB, 28 views)
Profitable Forex Systems
Automatically trade proven forex trading systems.
Real trading records available!

Last edited by Dave77 : 06-27-2005 at 02:40 PM.
Reply With Quote

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