- Search Crypto Craft
-
FXEZ replied Jun 4, 2011If you're not getting any errors and not getting any closes, then this condition must never be true: if(Ask<=rememberTP && endLoop==false) {
ticket number not working
-
FXEZ replied Jun 4, 2011Starting bracket in wrong place for: if(Ask<=rememberTP && endLoop==false) if(OrderType()==OP_SELL) { rememberTP=memorizeL[1]-((memorizeH[1]-memorizeL[1])*TP); Print(rememberTP); if(Ask<=rememberTP && endLoop==false) GetLastError(); { ...
ticket number not working
-
FXEZ replied Jun 4, 2011To the OP: I think these guys have pretty well covered the major issues. I skimmed over some of the posts so apologies if there is any duplication. As best practice, when a function has a return value with a meaning, use the return value for error ...
ticket number not working
-
FXEZ replied Jun 2, 2011I continue testing 1.005 with results attached on 4 symbols on 1 Minute time frame charts: EURUSD EURCHF EURGBP AUDUSD I had to abandon EURJPY and USDJPY due to the drawdown (shown in the pic). As for 1.008, I've been gathering data on this version ...
Snow Roller - An Avalanche of Profits
-
FXEZ replied May 21, 2011Stephen, Thanks for sharing this fantastic example with both server and client code. This is very helpful! +v
How to share data between 2 MT4 sessions?
-
FXEZ replied May 12, 2011It should be back at its regular spot on the bottom of the page. I'm going to have to try a subset of symbols with that version. Maybe just USDJPY, USDCHF and EURCHF based on my full symbol forward test so far. SnowRoller 1.007
Snow Roller - An Avalanche of Profits
-
FXEZ replied May 12, 2011I think you're probably getting better results with 7. The main differences is 7 was optimized for its entry bar pattern, and there were a couple of changes with regards to max losing positions. 7 was designed to be a bit more peppy to the upside ...
Snow Roller - An Avalanche of Profits
-
FXEZ replied May 12, 2011See the previous post if you want intra-bar stops/targets. extern int takeprofit = 0; // Single position take profit in pips extern int stoploss = 30; // Single position stop loss in pips Default is 30 pips for the stop. Look for takeprofit and ...
Snow Roller - An Avalanche of Profits
-
FXEZ replied May 12, 2011The stops and target work inter-bar so it's by design when you get a big bar. Someone else was asking about this. If you want stops/targets to apply intra-bar then make the changes: (in the start function) before: if(LotMultiplier <1) LotMultiplier ...
Snow Roller - An Avalanche of Profits
-
FXEZ replied May 8, 2011kos, Here are two MQL4 tutorials that you might find useful because they walk through the concept section by section with explanations. The first article is quite basic and explains how to use an if block to limit processing to once per bar. That ...
Coders Corner
-
FXEZ replied May 6, 2011No, that's an older version. You can find the SnowRoller expert advisor on this page. Please read all the documentation. Download the source code here. I update the source files and documentation from time to time so check back at the source ...
Snow Roller - An Avalanche of Profits
-
FXEZ replied May 6, 2011The shift parameter (the third parameter in these functions) allows referencing of past bars. In the example iHigh(0, PERIOD_H1, 1) You are referencing the high of 1 ago on an hour chart. You could change that number to 5 and reference 5 bars back ...
2 simple lines of code needed, please help
-
FXEZ replied May 6, 2011No, if you want the high and low of the 60 minute bar 1 60 minute bar ago, the easiest way is to reference it like: iHigh(0, PERIOD_H1, 1) iLow(0, PERIOD_H1, 1) To get the current 1 hour bar high/low change 1 at the end to 0. This will work within ...
2 simple lines of code needed, please help
-
FXEZ replied May 6, 2011Ben, Have you typed in either iClose or iOpen as search terms into the MetaEditor Navigator? If you do, you would see this: double iClose( string symbol, int timeframe, int shift) Returns Close value for the bar of indicated symbol with timeframe ...
2 simple lines of code needed, please help
-
FXEZ replied May 5, 2011SnowRoller Snapshot May 5th — Here is an update on the account I mentioned below. Feel free to follow along. I changed from using a set time of day to close out trades to not using the time limitation. I was finding that it was better to just ...
Snow Roller - An Avalanche of Profits
-
FXEZ replied Apr 29, 2011Learning MQL4 — The best reference I've found is first in looking at the MetaEditor help by searching and reading up on the various topics by category, then when I find the description or how to implement a particular function a bit lacking I ...
Book to Learn MQL?
-
FXEZ replied Apr 29, 2011Your procedure worked! thanks again! and if anyone is searching for the desktop link I was describing, do a search for "Oanda fxTrade gui". I forgot about the gooey part.
OANDA Discussion
-
FXEZ replied Apr 29, 2011I just uploaded a second version of Basket_Stats_Time that will plot in a subplot. The issue is that this indicator is so wide that it takes up a lot of screen real estate. By putting it into a subplot, it's much easier to not have it overlap with ...
Indicators for Currency Basket Analysis
-
FXEZ replied Apr 29, 2011Ok so I figured it out. The code change is actually quite simple really if anyone wants to know I'm happy to explain. I uploaded a new version called Basket_Stats_Time_Sub.mq4 that should plot the Basket_Stats_Time indicator in a subplot. All other ...
Snow Roller - An Avalanche of Profits