- Search Energy EXCH
- 3,858 Results (90 Threads, 3,768 Replies)
-
Ronald Raygun replied Aug 20, 2009The code you put in is too far down. //+------------------------------------------------------------------+ //| Stacker.mq4 | //| Ben Coulthard | //| bencoulthard at hotmail dot co dot uk | ...
Learning out of desperation----a bit of a blog
-
Ronald Raygun replied Aug 20, 2009Can you put up the whole code?
Learning out of desperation----a bit of a blog
-
Ronald Raygun replied Aug 20, 2009if (myOrderType == 1) Comment("type 1"); if (myOrderType == 2) Comment("type 2"); Extra spaces might be a problem. Alternatively: if (myOrderType == 1) Print("type 1"); if (myOrderType == 2) Print("type 2"); Check the "Experts" tab to see the results
Learning out of desperation----a bit of a blog
-
Ronald Raygun replied Aug 20, 2009Ok, if(MayOpenDeferOrder) // MayOpenDeferOrder is a buy stop or buy limit order { if ((UseHourTrade==true)&& //If the time is earlier than the starting time ((Hour()+GMTOffSet)<= FromHourTrade && //If the time is later than the ending time ...
Code for Trade hour
-
Ronald Raygun replied Aug 20, 2009You have it backwards. I'm assuming you want the EA to trade between 6:00 and 18:00, correct? if(Hour() >= StartTime && Hour() < EndTime) OrderSend...
Code for Trade hour
-
Ronald Raygun replied Aug 20, 2009Firewall? I can't get a MT4 feed from work
One of my mt4 platforms can not login suddenlly?
-
Ronald Raygun replied Aug 20, 2009Multiple order windows? Can't you just press F9 several times?
mt4 order windows
-
Ronald Raygun replied Aug 19, 2009I actually have neither. I just watch MythBusters too much.
As for everyone else, there is a new minor feature added to this EA and for all future EAs I put in. It's the ability to trade with ECN-style brokers who require a trade and the ...4H Box Breakout
-
Ronald Raygun replied Aug 19, 2009If you have a modification, I encourage you to release it. Just put in some prefix or suffix so any new users know what to get. I'm trying to find a way to use file versioning in my programming so that every time I save the file, a new version is ...
4H Box Breakout
-
Ronald Raygun replied Aug 19, 2009Wanna know my secret? I have a template. The only thing which really changes from EA to EA is the order entry logic. Everything else (trade management, order entry, order exit, etc). is already there. I do have to tweak that from time to time, but ...
Learning out of desperation----a bit of a blog
-
Ronald Raygun replied Aug 19, 2009You think it's complicated =D coding is really just learning another language. Once you can 'speak' it, you are comfortable and think nothing of it.
Learning out of desperation----a bit of a blog
-
Ronald Raygun replied Aug 19, 2009url Look around for metatrader account copier url
Copy Demo acc's orders
-
Ronald Raygun replied Aug 19, 2009MoveStopTo is the pip distance from the order entry price (you should be able to put in a negative value for that). I'll look into it.
4H Box Breakout
-
Ronald Raygun replied Aug 19, 2009Hi everyone. First off, these are very brilliant solutions I see here. The main problem I'm having with my versions of these codes is recoverability. Let's say the trailing stop is 40 pips. The current stoploss distance is 30 pips. Suddenly, the ...
Stealth StopLosses?
-
Ronald Raygun replied Aug 18, 2009Were the lines painted in the correct places? As long as there are trades remaining, the EA will trade signals whenever the price crosses from the inside to the outside of the box.
4H Box Breakout
-
Ronald Raygun replied Aug 18, 2009that was a genuine bug in the system which only affected the sell side. Here is the fix.
4H Box Breakout
-
Ronald Raygun replied Aug 18, 2009Been working on that. I can get it to work (mostly) during a backtest. The hard part is making it recoverable.
4H Box Breakout
-
Ronald Raygun replied Aug 18, 2009It's been my experience that in order to increase one, you need to decrease something from somewhere else. Ultra conservative systems tend to have low drawdown, but at the expense of return. I have a system which averages about 10 trades a year. ...
4H Box Breakout
-
Ronald Raygun replied Aug 18, 2009Holy grail characteristics: No drawdown 100% win rate 1 million brazillion bazillion % return on every trade. Can't get all 3.
4H Box Breakout
-
Ronald Raygun replied Aug 18, 2009Global variables work for one trade, hard to apply to multiple. It looks like I'll have to write to a file a log of ticks. (to trade direction of SL)
Stealth StopLosses?