mike99
-
Posts
122 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by mike99
-
-
Re: DRAGONPIPS
Quiksilver, can you confirm this mistake?
Could you please fix this bug and re-issue another version of DP?
-
Re: DRAGONPIPS
I doubt there is another bug in the code of DP:
if (OrderType() == OP_BUY && OrderMagicNumber() == g_magic_240 || OrderMagicNumber() == g_magic_244 || OrderMagicNumber() == g_magic_248 || OrderMagicNumber() == g_magic_252)
I think the line above is equal to
if ( (OrderType() == OP_BUY && OrderMagicNumber() == g_magic_240) || OrderMagicNumber() == g_magic_244 || OrderMagicNumber() == g_magic_248 || OrderMagicNumber() == g_magic_252)
In MQL4 "&&" will be executed before "||". So it will mess up closing some orders.
There are many lines are the same case in the code. Please be serious to take a look at those lines!
-
Re: Forex Ultimatum
Try to open the opposite trades from the trading signals! You will be rich soon!
-
Re: euronis_v4160
Here are the full version.h**p://slil.ru/28l3567o
:-bd
is this 4160 educated or not? thx!
-
Re: euronis_v4160
Quick Install Guide:
Before installing on the charts, open quotations ("Market Overview")
right click and choose "show all characters" to load the quotes of dollar pairs.
Can somebody explain where is "Market Overview"? and where is "show all characters". I just could not find.
-
Re: euronis_v4160
yes, I am using [email protected]/53240.
I tried. When I do the backtesting, it trades for me now, but it still give me error messages "Unable to init pair: USDEUR/EURUSD" , "Unable to init pair: USDCHF/CHFUSD" and"Unable to calculate the point price" .
You guys do not see this? Take a look at your Journal messages.
-
Re: euronis_v4160
ok, i figured out. I have to login to my demo account when I do the backtesting.
But I still get some error messages like "Unable to init pair: USDEUR/EURUSD" and
"Unable to calculate the point price" .
Anybody get those error messages too?
-
Re: euronis_v4160
why I can not make the backtesting work. When I backtest EURCHF, it keeps saying:
Unable to init pair: USDEUR/EURUSD
Unable to calculate the point price
The key file and gmtstd35.csv should be in the right location. Anybody help?
-
Re: euronis_v4160
The spreads of EURCAD and GBPCAD are so high. I doubt how it work.
-
Re: euronis_v4160
well yes,even though the old version is still performing ok,the new version can trade 2 pairs more than the old.that kinda doubles the profit.to crack v.4160 would be best.i tried but with no success:(Damodhar, 2 more pairs than the old version?
Could you please explain a little more? What pairs for the new version?
Thanks.
-
Re: euronis_v4160
It took me so long time to translate the setting instructions from Russian to English. Leave me some Kudo, and enjoy:
Sizing orders:
Lots - fixed lot size. Used to trade fixed lot. With the value of Lots,
different from 0, the value of LotPercent ignored. Fixed
lot size should be used when testing or optimization adviser.
LotsPercent - percentage of the deposit for the calculation of the lot, can have a value to MaxLotsPercent.
MaxLotsPercent - the maximum percentage of the deposit for the calculation of the lot limits the maximum
possible lot to trade, including the use of MM
(UseBalanceControl = true). The largest possible unit of a percentage of the deposit
depends on collateral requirements for the DC and the necessary drawdown, which
should maintain order, not falling at the same level in StopOut or MarginCall.
Also depends on the price points the currency pair. When you transfer adviser at the schedule
after downloading it gives information line, which specifies the maximum lot
trade in this mode. When MaxLotsPercent = 0, this value is automatically
assigned to MaxLotsPercent, otherwise set manually on
your discretion. If you trade two currency pairs within a
terminal, the value should be set MaxLotsPercent 40-45% of the estimated
value determined by an advisor for each currency pair in order to
advisers do not interfere with each other to trade.
ResetMaxBalance - enable / disable dialogue reset the global variable
maximum balance MaxBalance during initialization. Change the
This change is also possible via the menu "Tools> Globals"
(name of variable MaxBalance <trading account number>). Value MaxBalance --
is actually the maximum recorded size of the deposit adviser. When
use MM when RestoreLostProfit = true, adviser adds to this
value and size is lost due to slippage or subsidence of profit.
If you use more than one adviser within one terminal
recommended to set to true only in the setting of one adviser. When
withdrawing funds from the account should be borne in mind that the advisor understands it as
drawdown of the deposit.
Settings money management (MM):
UseBalanceControl - turns on / off control function balance (MM), and controls the switching
shopping time with "normal" on "after the drawdown, and switch settings
respectively, with SettingsNumber on DDSettingsNumber after subsidence of the deposit.
SaveLotsValueAfterDD - enables / disables the function of preserving the last maximum
lot for trade in the period of time "after the drawdown," works only when
enabled UseBalanceControl.
RestoreDepoMode - switching modes recovery after subsidence of the deposit, only works
when the UseBalanceControl. There are three modes: 0 - no recovery
1 - recovery in the period from 23 to 0 on the set, 2 - rehabilitation in the period
time "after the drawdown.
RestoreLostProfit - enables / disables the function recovery of lost profits due to subsidence or
slippage, only works when the UseBalanceControl. Fact
adds to the value of the variable maximum recorded balance
MaxBalance value of the lost profits from each transaction at the rate
AverageTradeProfit points on the transaction.
BlockTradesAfterDD - enables / disables the blocking of trade after the drawdown until the next trade
day, only works when the UseBalanceControl.
DDSensitivity - determines the percentage of drawdown of the deposit of the value of the maximum balance MaxBalanse,
at which time sales advisor will switch from "normal" on "after
Drawdown and settings, respectively, with SettingsNumber on DDSettingsNumber. When
zero, the sensitivity is defined as a quarter of the current value LotsPercent,
works only when the UseBalanceControl.
AverageTradeProfit - the average income of a warrant at the points used
RestoreLostProfit = true for the calculation of lost profits due to subsidence or
slippage, only works when the UseBalanceControl. When
value is 0, adviser substitutes preset value 3.
Trading Options:
SettingsNumber - number of predefined settings, programs in "normal" time interval,
may be a value from 1 to 20. Inside the program sets the value of a
than 140 different variables. For each currency pair configuration
selected automatically.
DDSettingsNumber - number of predefined settings, the program in the time interval "after
Drawdown "as the last parameter can be a value from 1 to 20. When
value of 0 is always equal SettingsNumber.
InvisibleStopLoss - enable / disable the "invisible" (software) StopLoss level. If true
program controls the preset maximum level of landing (for
each pair is different) and at this level, closing the warrant. If false at this level
exposed normal StopLoss. "Invisible? StopLoss needed to prevent
"Churning" his broker - this is the easiest way to limit the growth of your
deposit for dishonest broker, but it should be borne in mind that it will work
only when the terminal. Level StopLoss set at 120
points for EURGBP and EURCHF.
Options trading time:
UseAutoTimeSttings - enable / disable automatically determine a time difference of the terminal
with the GMT, as well as the date of transition to daylight saving time. Councilors
ability to automatically identify and verify the existing configuration
time, this requires that before October 15, 2008 was loaded history
Quotes GBPUSD H1. Also in the file gmtstdXX.csv for some brokers already
lists these parameters. Algorithm validation is as follows: at the start with
UseAutoTimeSettings = true, adviser to first try to define himself settings
time, then checks the list of settings for different DC in the file gmtstdXX.csv,
if it is present on this agent, then the downloaded configuration will be
priority. In any case, the adviser checks the calculated data and
loaded and displays the result in the information line. Internal operating
an adviser is a Central European, which is always (go to
summer / winter time coincide with our time) for two hours before
Moscow. This time is always displayed in the line "Trade time SETE (MSK-2)"
and always in all the terminals must be the same and equal to Moscow minus 2
hours that the load should be checked.
TimeZone - the difference of the terminal time to time in GMT Daylight Time, recorded with
off UseAutoTimeSettings = false or UseAutoTimeSettings = true, in the case
If an adviser is not able to identify either or downloaded from the configuration file differences
time.
SWChangeMode - mode transition time of the terminal for winter / summer time. 0 - go along with
Europe (the last Sunday in October), 1 and 3 - go along with the U.S. (the first
Sunday in November) 2 - there is no transition to the winter / summer time. If the adviser does not
unable to determine TimeZone and SWChangeMode, you can prooptimizirovat these
two parameters (from -4 to 4 and from 0 to 3, respectively) and the result with maximum
profit and minimum drawdown would be consistent with true values.
The correctness of determining the parameters can also be set by time,
which displays the Adviser in line comments.
TimeRiskFactor – switch time setting, if "-1" takes them out of the predefined settings
(for EURGBP and EURCHF default 5):
When "-2" commercial time is set manually variable OpenHourAM, CloseHourAM and
OpenHourPM, CloseHourPM. For example, for commercial time from 22 to 3 (SETE), you
set the variables as follows:
TimeRiskFactor=-2;
OpenHourAM=0;
CloseHourAM=3;
OpenHourPM=22;
CloseHourPM=24.
BlockWeekBegin - enable / disable the lock trade on Monday to 12.00 AM.
BlockWeekEnd - on / off lock trade on Friday after 12.00 AM.
TradeHourOptimization – on / off hourly optimization adviser. Used in optimization or testing. To do this, set the variable
TimeRiskFactor =- 2 and the variable OpenHourAM varies from 0 to 23 with step 1.
OpenHourAM - used for manual installation of commercial time, as well as for hourly optimization. Defines an hour early trading AM.
CloseHourAM - used for manual installation of commercial time, defines the end of trading hours AM.
OpenHourPM - used for manual installation of commercial time per hour determines the start of trade PM.
CloseHourPM - used for manual installation of commercial time, defines the end of trading hours PM.
Other options:
PersonalMaginNumber - setting personal values, unique identifier orders. When
Trade more than one counselor on one currency pair within a
terminal is necessary for each advisor to put a different meaning of
variable (eg 0 and 1).
ShowTimes - enable / disable output to the chart window table trading time adviser CET.
ShowInformation - on / off output window graphic comments adviser.
ShowSpreadInfo - enable / disable output to the chart window comments on Change Adviser value spread.
InformationStringNumber - the maximum number of lines of comments.
UseMailReport - set the phone to send a report on trafficking in e-mail/SMS. Using
more than one adviser within one terminal, it is recommended to install
to true only in the setting of one adviser.
MailReportHourGMT - while sending a report to GMT (in summer time).
Language - language of comments the program can take values ?rus? or ?eng?.
Advanced settings:
CheckFreeMargin - on / off check available funds, if true, the calculation of the lot
Counselor builds on available funds in the account, and limits
value of the lot based on the value MaxLotsPercent relatively free
funds. If false, the adviser instead of free funds for the estimated
takes the value of the size of deposit accounts (balance). It should be a trade advisor
two currency pairs in the mode hedzhirovaniya. When trading in one currency
pair together with other advisers are not advised to switch off this option,
because drawdown "not their" orders euronis can not check and will not be able to
result correctly calculate the unit of trading.
CheckStopOutLevel - turning on / off checking the level StopLevel (minimum level of free
means to maintain order) when calculating the lot, if true,
Advisor restricts the value of the lot on the basis of collateral requirements for
opening and maintaining order, as well as on the basis of maximum drawdown
which has to withstand the deposit is not hitting at the same level in the zone StopLevel. For
Every broker has different levels StopLevel values (from 0% to 100%) than it
less, the larger lot can be put warrants.
IncreaseFreezeLevel - if true account and adds value FreezeLevel (minimum distance from
current price is less than that can not modify or terminate the order) to
value StopLevel (minimum distance from the price for installation of stop levels)
when calculating the level TakeProfit. News for DC with high values
FreezeLevel, especially when it is comparable with StopLevel.
CheckRateBeforeOpen - if true compares the current quote directly to the team
discovery orders which came from the quotation to the processing of its program, has
place with frequent sharp changes in prices or poor computer performance.
If the price has changed for the worse, the team opening orders
not be sent.
CheckRateBeforeClose - if true compares the current quote directly to the team
closure order which came with a quotation to the processing of its program, has
place with frequent sharp changes in prices or poor computer performance.
If the price has changed for the worse, the team closing orders
not be sent.
OrderOpenSlippage - the maximum allowable deviation of prices from the declared at the opening of a warrant.
OrderCloseSlippage - the maximum allowable deviation of prices from the declared at the opening of a warrant.
CheckRepeateClosePrice - if true checks the price when re-closing of the warrant, that it was not
worse than the first closing price, if false, in the case of an unsuccessful attempt to close the warrant
Adviser with each subsequent admission prices will attempt to close the warrant.
Note that the error closing the warrant may be greater than
less than the maximum allowable deviation from the stated price for closing
order determined by the value of variable OrderCloseSlippage. If the
true, then the faults closure orders can lead to additional
subsidence.
UseSlippageCorrection - if true, includes correction of the optimum value of profit in the settlements in the
Depending on the slip at the opening of the warrant, ie more
slip the worse the earlier the warrant close adviser and vice versa
that happens much less frequently. Also take into account the difference in price again
opening of a warrant if the opening price was better than the first. Using
correction slip actually at low volatility and not play
special role in the strong market volatility, which is observed in this
moment.
UseSpreadCorrection - if true, includes correction of the optimum value of profit in the settlements in the
Depending on the current spread, ie more spread so with less profit
close advisor to the order (only for orders sell), while at strong
increasing spread of possible closure with the loss. On the one hand it is good
when unexpectedly strong increase spread, but it happens and bad on floating
spread.
BlockAfterHandClose - if true, adviser to block trade until the next trading day after the closing orders "by hand".
MaxSpreadValue - value ceiling spread, above which the Adviser will not be displayed
warrant, with "0" adviser takes the value of the predefined settings (for
EURGBP and EURCHF is 5).
-
Re: DRAGONPIPS
Still nobody has hyper version?
-
Re: Megadroid Pro
Tonight 's achievement on my live:
AUDUSD hit SL.
GBPUSD hit SL twice (both S1 and S2).
USDCHF hit SL.
USDCAD hit SL.
:o :o
-
Re: DRAGONPIPS
So, guys, all the backtesting we did for strategy 2, 3 ,and 4 are useless. The code mistakes messed up the results.
-
Re: DRAGONPIPS
This is important!!!!!!!
Please take a look at the following lines. I think two magic numbers are wrong, but I am not quite sure. If we use strategy 2 magic number to open strategy 3 and 4 orders, then the EA will use strategy 2 to manage strategy 3 and 4 's opened orders.
l_cmd_0=OrderSend(Symbol(), OP_BUY, g_lots_392, Ask, g_slippage_220, 0, 0, ExpertName + " [s1]", g_magic_240, 0, Green);
l_cmd_0=OrderSend(Symbol(), OP_SELL, g_lots_392, Bid, g_slippage_220, 0, 0, ExpertName + " [s1]", g_magic_240, 0, Red);
l_cmd_0=OrderSend(Symbol(), OP_BUY, g_lots_384, Ask, g_slippage_220, 0, 0, ExpertName + " [s2]", g_magic_244, 0, Green);
l_cmd_0=OrderSend(Symbol(), OP_SELL, g_lots_384, Bid, g_slippage_220, 0, 0, ExpertName + " [s2]", g_magic_244, 0, Red);
l_cmd_0=OrderSend(Symbol(), OP_BUY, g_lots_384, Ask, g_slippage_220, 0, 0, ExpertName + " [s3]", g_magic_248, 0, Green);
l_cmd_0=OrderSend(Symbol(), OP_SELL, g_lots_384, Bid, g_slippage_220, 0, 0, ExpertName + " [s3]", g_magic_244, 0, Red); Magic number worng here! Should be g_magic_248?
l_cmd_0=OrderSend(Symbol(), OP_BUY, g_lots_384, Ask, g_slippage_220, 0, 0, ExpertName + " [s4]", g_magic_252, 0, Green);
l_cmd_0=OrderSend(Symbol(), OP_SELL, g_lots_384, Bid, g_slippage_220, 0, 0, ExpertName + " [s4]", g_magic_244, 0, Red);Magic number worng here! Should be g_magic_252?
I checked Dragonpips v2, v3, and Quiksilver's latest version, the code above are all the same. It just does not make sense to me. Anybody can take a look at the very original copy of Dragonpips? Any other comments?
-
Re: Megadroid Pro
Just got email from MBTrading. Their MT4 is available now!!! :)
In the email, they said they follow FIFO. :o
-
Re: caspian EA
does somone know what the SL is for eur/chf ? (it is not that what we see in settings)I just had closed a trade in SL
It opens the SELL trade at: 1.51200 and closed in SL at: 1.51256
This means the SL in only 6 pips (or 5,6 pips)?
Also the trade could go in TP if it just wait some more minutes.
I had this on jadefx.
Anyone else?
mograst, take a look at my live trades at ATC yesterday. The second one is the same as yours.
2009.10.05 16:03 buy 0.10 eurchf 1.51181 1.50681 0.00000 2009.10.05 16:35 1.51194 -0.80 0.00 0.00 1.26
2009.10.05 17:48 sell 0.10 eurchf 1.51201 1.51256 0.00000 2009.10.05 18:13 1.51257 -0.80 0.00 0.00 -5.43
2009.10.05 18:46 sell 0.10 eurchf 1.51200 1.51251 0.00000 2009.10.05 19:18 1.51199 -0.80 0.00 0.00 0.10
-
Re: caspian EA
OK, first day trading live on ATC (5 digits, ECN). EURCHF only. It's a loosing day.
2009.10.05 16:03 buy 0.10 eurchf 1.51181 1.50681 0.00000 2009.10.05 16:35 1.51194 -0.80 0.00 0.00 1.26
2009.10.05 17:48 sell 0.10 eurchf 1.51201 1.51256 0.00000 2009.10.05 18:13 1.51257 -0.80 0.00 0.00 -5.43
2009.10.05 18:46 sell 0.10 eurchf 1.51200 1.51251 0.00000 2009.10.05 19:18 1.51199 -0.80 0.00 0.00 0.10
-
Re: caspian EA
This update has been posted by odrisb on the previous page already. Thanks, anyway.
-
Re: Megadroid Pro
logic 5, have not seen that in any version??? Shakerz if you find that version, please post a link..I asked the same question before. Here below is JUINERTY2's logic 5. There is no magic for it. It's from Rio's MegadroidPro_XE_v1.2 or 1.1, I believe. Please search the link by yourself.
extern bool OverrideDefaultLogic = TRUE;
extern int S1_StartHour = 21;
extern int S1_EndHour = 23;
extern int S2_StartHour = 22;
extern int S2_EndHour = 23;
extern int S1_TakeProfit = 10;
extern int S1_StopLoss = 150;
extern int S1_MinStopLoss = 40;
extern int S1_TrailingStop = 0;
extern int S1_RSI_M15_Period = 6;
extern int S1_RSI_M1_Period = 20;
extern int S1_CCI_Period = 8;
extern double S1_OverBought_RSI_M15 = 70.0;
extern double S1_OverSold_RSI_M15 = 30.0;
extern double S1_OverBought_RSI_M1 = 70.0;
extern double S1_OverSold_RSI_M1 = 30.0;
extern double S1_TradeOpenedInHr = 1.0;
extern double S1_TradeOpenedMaxHr = 12.0;
extern double S1_Unknown1 = 1.0;
extern double S1_Unknown2 = 1.0;
extern int S1_MaxSpread = 4;
extern string _10 = "0: PERIOD_M5, 1: PERIOD_M15";
extern int S1_TimeFrame = 1;
extern string _11 = "CUSTOM S2 Logic Parameters";
extern int S2_TakeProfit = 15;
extern int S2_StopLoss = 150;
extern int S2_MinStopLoss = 30;
extern double S2_StopLossMultiplier = 2.0;
extern int S2_TrailingStop = 0;
extern int S2_BarCount = 36;
extern int S2_CCI_FastPeriod = 168;
extern int S2_CCI_SlowPeriod = 275;
extern double S2_TradeOpenedInHr1 = 1.0;
extern double S2_TradeOpenedInHr10 = 10.0;
extern double S2_TradeOpenedInHr12 = 12.0;
extern int S2_MaxSpread = 4;
-
Re: caspian EA
I read the Caspian CHF code, and want to share some my understanding with you regarding the time setting:
extern int StartHour = 23;
extern int EndHour = 2;
1. The two parameters above are SERVER TIME! They are not GMT.
2. If you set StartHour = 23 and EndHour = 2, it will trade from 23:00 to 2:59!!! (This is different from what we have got used to.) If you do not have any existing orders, it will not open any new orders after 2:30.
3. If you set StartHour = 23 and EndHour = 23, it will trade from 23:00 to 23:59. This is different from what Fapturbo does. Fapturbo will trade 24 hrs if you set start and end hr the same.
Thanks, wesladf. I add one more note here:
4. If you want to trade 24 hrs, set StartHour = 0 and EndHour = 24 (or 23 does not really matter here).
5. On Monday, if your EndHour = 2, it will not trade before 3:00am (2:00+1). But if you set EndHour = 22, it will not trade before 23:00(22:00+1). Then you will not get any trades on Monday. This is a mistake by author. I have backtested, and the result confirmed.
6. On Friday, it will not trade after 18:00(Server time! This is another mistake by the author. He should not use server time here).
7. For some brokers with minus GMT offset (for example ATC's GMT offset is -4) will start trading from Sunday. But this EA will allow trading on Sunday. The author missed checking trading hours on Sunday.
Anyway, we need to be careful with those mistakes of trading hours because the author did not use a GMToffset parameter, and he did not know how your server time is related to GMT.
Caspian GBP EndHour parameter works differently from Caspain CHF Endhour. If you set Endhour = 2. It will stop trading after 1:59 instead of 2:59. Caspian GBP has some similar mistakes of trading hours. I have to take a look further more, and do a backtest.
Any comments?
-
Re: Megadroid Pro
You guys did not have a EURGBP sell order stopped out tonight? So strange I got one.
-
Re: Megadroid Pro
bbrain, is it possible to add a feature to set different lot sizes for different strategies (S1 and S2)? Sometimes I found S2 is not as profitable as S1, but I do not want to totally disable S2.
Thanks.
-
Re: Megadroid Pro
Today my AUDCAD hit stop loss twice (both S1 and S2 strategy). One is 38.9 pips loss, and one is 43.6 pips loss.
USDJPY is the best performer today with two trades. One profit is 7.4 pips, and another profit is 50.2 pips. The second trade is soooooo lucky. I never saw one MD trade can make as much as it lose before.
All other trades are very small profits or losses.
Overall a breakeven night.
Does anybody know why USD is sooooo volatile during asian session yesterday and today? Because of G20 meeting?
Megadroid Pro (links first post)
in MetaTrader Expert Advisors
Posted
Re: Megadroid Pro
Kudos for you first! hope to see your version soon.