Before you can use V2Bot on your Demo or Real account, this account should be authorized by me to be used with the system. That's why after the purchase, I'm asking you to give me the accounts number(s) on which you want to use V2Bot. This does not mean that I in any way might access your account, this is only a program protection measure. So after a purchase you will receive an email from me with the Account(s) number request. After I receive this number (or numbers), I will authorize it during one business day and will send you a second email confirming that now you can use V2Bot on that Account(s). What if you will change your Account? Drop me an email requesting an authorization for a new Account with your name, original Account number and the date of purchase and I will do the necessary changes. Program Installation V2Bot comes in 3 separate files: V2B-I.ex4, V2B-EA.ex4 and http51.dll.
Go to "My Computer", then browse to the location of your MetaTrader (it's usually "C:\Program Files\MetaTrader 4"), then place V2B-EA.ex4 to the "Experts" sub-folder and V2B-I.ex4 should be placed into "Experts\Indicators" sub-folder. The http51.dll file should be placed into your "Windows\System32" folder. Restart your MetaTrader after placing the files into correct folders. Now the "V2B-EA" Expert Advisor should be available in the Navigator window under "Expert Advisors" branch:
Expert Advisor usage
To apply EA to the chart, just drag it with the mouse from the Navigator window to the chart and then configure the Inputs. But first, you should allow it to work correctly: 1. Check the "Enable Alerts" box. Otherwise, you won't be given information on the V2Bot status. 2. In the "Live Trading" section check the "Allow live trading" and uncheck the "Ask manual confirmation" box. 3. In the "Safety" section check the "Allow DLL imports" and uncheck the "Confirm DLL function calls". If you won't do this, your V2Bot won't be allowed to operate. This screenshot shows how to set up these options correctly: Time frame V2Bot works well on any Intraday time frame - from M1 to H4. However, the default Inputs are set up to be used on M30 chart, so if you use different time frame, please adjust your Inputs accordingly. Inputs (default values are in the brackets) Here are the EA's Inputs, grouped by the purpose: * MagicNumber (19680220) MagicNumber might be any unique number that you are using to define your Portfolio. It's important that when you are using this EA on several charts, you assign the same MagicNumber to all of them. * ECNBroker (false) The EA automatically detects most of the ECN Type Brokers and places orders according to that. But there some exceptions, and if you are using ECN Broker and your orders receive Error 130, please set this option to true. This will force the EA to skip auto-detection and to use ECN order placement anyway. * TurnSignal (60) * TurnConfirmation (80) These two numbers are the part of the mathematical core of the EA's logic. If you are not using full source EA, then do not change them because the results may be completely incorrect. However, if you decide to play around with these settings, please be aware that: 1. Both of them should be in a range of 50-100 2. TurnSignal should be less then TurnConfirmation. * FixedLotSize (0.0) * AllocationPercentage (25.0) * MaxLots (10.0) These Inputs define how the EA calculate the size of the new position when the condition for the entry occurs. If you do not want to use Money Management, set up FixedLotSize to the value greater then zero. In that case, AllocationPercentage and MaxLots will be ignored,the MM calculation will be skipped and the EA will trade the lot size defined by FixedLotSize. If you want to use Money Management, set up FixedLotSize to zero. Here's how MM works: First, EA checks your available Free Margin, then it takes the Allocation Percentage of it. Let's say you have a $10,000 margin available and AllocationPercentage is default (25.0), so your available capital for this trade will be 25% of $10,000 which is $2,500: AvailableCapital = FreeMargin * AllocationPercentage / 100 After that, the EA calculates the amount of money which will be locked by one lot on this trade. To do that, it calculates maximum loss per lot (based on the StopLoss Input) by increasing the StopLoss by additional 20% (for the assurance), then adds initial margin required for one lot: LockedMoneyPerLot = StopLoss * PipPrice * 1.2 + InitialMarginPerLot Let's say, our StopLoss is 600 and the PipPrice for EURUSD on a Mini is $0.1 and the initial margin is $50.00, then our LockedMoneyPerLot will be: LockedMoneyPerLot = 600 * 0.1 * 1.2 + 50 = $122.00 Now the EA calculates how much lots we can afford on this trade: PossibleLots = AvailableCapital / LockedMoneyPerLot In our example: PossibleLots = 2,500 / 122 = 20.49. Now, we have the Input that limits actual number of lots to be traded. It's called MaxLots. So if our PossibleLots is greater then MaxLots, only MaxLots will be traded. In our example: MaxLots = 10.0 PossibleLots = 20.49 MaxLots is smaller than PossibleLots, so the EA will trade 10 lots. * StopLoss (600) This is the value of the initial Stop Loss (in pips). If you want, you may change it. Just remember - the default value is for 5-digits brokers. If your broker is 4-digits, divide your value for this Input by 10. * MinimumProfitPoints (250) * StopStep (50) These Inputs define the behavior of the Jumping Stop. You can read how it works at the separate article on this Web site, I've explained it there in details. MinimumProfitPoints defines when the Jumping Stop will be triggered on and StopStep defines one moving step. Again, these values are for 5-digits brokers. If your broker uses 4 digits in the quotes, divide these values by 10. * SizeStep (1.0) * ClosePortion (1). These Inputs also refer to the behavior of Jumping Stop and they define how much of the lot size will be closed when the Jumping Stop moves to the next profit level: SizeStep can be either 1 or 0.1 or 0.01. The actual closure portion is defined by multiplication of these values: Portion to close = SizeStep * ClosePortion. So if you want to close 0.25 lots on each JumpingStop move, you use: SizeStep = 0.01 ClosePortion = 25 or, if you want to close 0.5 lots, you use: SizeStep = 0.1 ClosePortion = 5 or, if you want to close 1.0 lots, you use: SizeStep = 1 ClosePortion = 1 * OppositeSymbol1 ("") * OppositeSymbol2 ("") These Inputs should be used when you trade a Portfolio, not a single Pair. They will help you not to trade against yourself. If you are trading just one Pair, then leave them empty. How they work: Let's say, you apply EA to the EURUSDm, GBPUSDm, USDCADm and USDJPYm charts. Inputs for EURUSDm chart will be: OppositeSymbol1 = "USDCADm" OppositeSymbol2 = "USDJPYm" For GBPUSDm chart: (the same) OppositeSymbol1 = "USDCADm" OppositeSymbol2 = "USDJPYm" For USDCADm and USDJPYm charts: OppositeSymbol1 = "GBPUSDm" OppositeSymbol2 = "EURUSDm" If you setup your charts and EAs on them that way, the EA won't enter the market in the opposite direction if some position already exists. Let's say you have Long position on USDJPYm, so it won't be wise to go Short on EURUSDm or GBPUSDm, isn't it? Anyway, you can just leave them empty, if you do not want to use this feature. Next groups of Inputs refer to the Time Restrictions and all these Inputs start with "Time_":
Important: All "Time_" Inputs refer to the server (broker) time, not to your local computer time! * Time_SundayAllowed (true) When it is set to false, the EA is not allowed to trade on Sundays. * Time_FridayCloseEarly (false) * Time_FridayCloseHH (17) * Time_FridayCloseMM (0) If you set up Time_FridayCloseEarly to true, then Time_FridayCloseHH and Time_FridayCloseMM will define hour and minute on Friday when EA should stop trading. If you set up Time_FridayCloseEarly to false, the _HH and _MM inputs are ignored and the EA will trade Fridays without any restrictions. Example. To set the EA to stop trade at 17:00 Friday (server time), use these values: Time_FridayCloseEarly = true Time_FridayCloseHH = 17 Time_FridayCloseMM = 0 Next 2 groups allow you to define 2 breaks during the day (for all days from Monday to Friday): * Time_Break1 (false) * Time_Break1_StartHH (0) * Time_Break1_StartMM (0) * Time_Break1_EndHH (0) * Time_Break1_EndMM (0) and * Time_Break2 (false) * Time_Break2_StartHH (0) * Time_Break2_StartMM (0) * Time_Break2_EndHH (0) * Time_Break2_EndMM (0) They work the same way: if you want to set up a break in trading, set the TimeBreakN (N=1 or 2, depending on which break you want to set up) to true, then setup Time_BreakN_StartHH and Time_BreakN_StartMM to define the begin of the break and the Time_BreakN_EndHH and Time_BreakN_EndMM to define the break's end. Example. You do not want to trade from 12:00 to 12:30 (server time). Use these values: Time_Break1 = true Time_Break1_StartHH = 12 Time_Break1_StartMM = 0 Time_Break1_EndHH = 12 Time_Break1_EndMM = 30 The results of all Time Restrictions Inputs are shown in the Information display: |






