- Search Crypto Craft
- sergiu replied Jul 9, 2007
Not quite. I use Tradestation. The arrays just come in handy when it comes to that kind of coding...
Too few bars when backtesting fixed timeframes
- sergiu replied Jul 9, 2007
Why are trying to implement the 1:2 risk reward ratio in the first place? Just because someone somewhere wrote that it is a good thing it does not mean you need it. You should not try to artificially implement anything into your system unless you ...
Problem with Risk:Reward
- sergiu replied Jul 9, 2007
A BO is a BO regardless of the TF. The TF only determines your stops/targets, how often you want/can trade and how aggressive you wanna be. To me the raw definition of a BO is: after a relatively quiet period the volatility picks up and the price ...
Best definition of a breakout?
- sergiu replied Jul 9, 2007
Well, compared to you i am a noob when it comes to MQL but i am quite proficient in a different language for a different platform. That platform even though more robust than MT4 it is also a bit more limited than MT4. One of the limitations is that ...
Too few bars when backtesting fixed timeframes
- sergiu replied Jul 9, 2007
The start() function is executed every time a new tick comes in...
NEW!! - Candle Aggregation indicator
- sergiu replied Jul 4, 2007
Following the logic of your code shouldn't you have: sum=NormalizeDouble(MathAbs(iMA(NULL,0,Length,i,MODE_LWMA,Close,pos) - iMA(NULL,0,Length,i,MODE_LWMA,Close,pos+1)),2);Instead of ...
Can't divide in MQL4?
- sergiu replied Jun 29, 2007
I think that besides understanding how certain fundamentals affect currency movement it is also important to understand how one piece of fundamental data will influence another one. For instance when the interest rates change there are certain ...
forex fundamentals are way too vast
- sergiu replied Jun 28, 2007
Does anybody know whether the new features (ie automation trading off the matrix etc) will be available to mini accounts or just for the holders of regular accounts?
Tradestation soon to be offering automated Forex trading
- sergiu replied Jun 28, 2007
If you have your variables declared inside the start() function then after you bring the terminal back online they should be reset as soon as the first tick comes in. HTH
Variables
- sergiu replied Jun 27, 2007
Forget about the pips!!!!!!!! They are not going to pay your bills.
Gradation of stop loss
- sergiu replied Jun 25, 2007
I coded this one out of curiosity and because it seemed somewhat simple to code. Anyway attached is the MT4 version of the indicator. I am extremely tired right now and I will post the indicator as is for you guys to test it and see if it is what ...
Anybody use Bollinger Bands that use fibonacci ratios??
- sergiu replied Jun 21, 2007
Instead of using High[i] try NormalizeDouble(High[i],Digits) Use the same for Open[i] HTH
Comparsion Problem
- sergiu replied Jun 15, 2007
Fast Navigation There are various methods used in the Client Terminal to accelerate working. The following can be used for this purpose: fast navigation box — a small box that appears in the lower left corner of the chart and allows to manage it; ...
Go to specific dates in MT4 & 1M data from 01/2006
- sergiu replied Jun 14, 2007
Well, unfortunately there is a little problem. Your first solution does cancel the pending orders but it happens every other bar instead of the next bar. And in regard to the second solution where would i place that code? Thank you for your help!
EA vs Indicators
-
Orders triggered in the middle of nowhere!
Started Jun 14, 2007|Platform Tech|1 replyIn backtests my EA seems to enter orders where price has not been for the candle where the ...
- sergiu replied Jun 14, 2007
It works! Just for better understanding could you explain why you have Period()*60 instead of simply Period()? Thanks!

EA vs Indicators
- sergiu replied Jun 14, 2007
Also i see this printed in the journal when trying to backtest: 2007.06.14 19:12:57 2007.06.08 14:15 My_EA EURUSD.spot,M15: invalid price 1.34429000 for OrderSend function Why is the price invalid?
EA vs Indicators
- sergiu replied Jun 14, 2007
Thank you for the reply! I decided to have all my logic inside the start() function. The reason is that the logic is a bit complex (and im an MQL noob) and was not sure how to properly create a function based on it. So the logic generates 2 ...
EA vs Indicators