This thread has been started so as not to clutter up Steve's original thread.
This thread was inspired by Steve H. and Telac who prompted me to read yet another one of Steve H.'s many robot threads.
My concept for this bot is that it will start off simple and then (hopefully) grow.
Although this bot was originally designed to be used in conjunction with NanningBob's 10.0 philosophy, it can also be used as a stand-alone trader for the T101 system using whatever manual system you have in place.
This first post will be continually updated with the latest information on the bot.
IMPORTANT
I have no idea how well this bot will play with others, be careful when using other bots (for instance MPTM) to manage trades opened by this bot
NOTE: My combined knowledge of NB 10.0 & T101 could be written on the back of a postage stamp!!! If you have any specific questions regarding either hopefully someone more enlightened than me will be able to help you.
Regards, John
Version 1 - 6 Sept. 2011
Basic manual trading bot of the T101 method with NB 10.0
Runs off the T101 offline chart (use "fix" version of T101 indi attached to send ticks to the offline chart)
Hedging still has problems so has been temporarily disabled
Fully automatic trading is not implemented yet as someone needs to tell me if the logic for the alerts is correct
Parameters
PairsInBasket - the number of pairs in the basket (uses same pairs as T101)
PairSuffix - if the pairs have a suffix (eg "m")
UseNanningBobBasis - switch to true if you want to control the types of alerts sent using NanningBob definitions
UseTradeConditions - switch to true if you want to receive the alerts based on the NanningBob definitions (false if you use your own methodology)
LotSize - self explanatory
UseTakeProfit - self explanatory
VisualTP - set to true if you want a line to be displayed on the chart where you want the TP to be based on offline Price Action
DefaultTP - number of pips away from bid by default
ValueTP - set to true if you wish to use a value based TP
DefaultTPValue - amount in account currency of the TP
UseStopLoss - self explanatory
VisualSL - set to true if you want a line to be displayed on the chart where you want the SL to be based on offline Price Action
DefaultSL - number of pips away from bid by default
ValueSL - set to true if you wish to use a value based SL
DefaultSLValue - amount in account currency of the SL
AllowHedging - temporarily unavailable
DefaultMinProfitValue - the default minimum profit value in acct. currency (similar to BE + Lock)
NOTE:- Once you set the min profit for a open basket, the value for the basket can be modified using F3 and changing the variable "!T101 Min. Profit Value"
BasketMagicNbr - self explanatory
SleepSecs - self explanatory, this is a always ON bot, the bot must be removed to access the parameters once loaded
Version 1.1 - 7 Sept. 2011
Ability to trail, either by fixed dollar amount or percentage
Fixed problems with rank values always been short by 1 USD
Changed the definition of min profit to break even
Added the ability to enter “Pending” orders
Fixed the multiple alert problem
Added message box confirmations to the important buttons of buy/sell (normal & pending) and close
There are several new parameters but most of these should be self explanatory and mainly deal with the trailing aspect
Version 1.2 - 7 Sept. 2011
When there is an open basket it shows the pair in the basket that doesn't have an open order (either because user closed, error on send)
When there is no open basket, the current basket balance is displayed (when there is a open basket the balance value is shown in brackets after the P/L for the pair)
The Open & Close basket routines are now more stable and less prone to TradeContextErrors
The currency list for Basket 14 has been corrected
When the EA is doing some processing that can take some time because of needing to wait for confirmations from broker the EA will now display PROCESSING, so you at least know it is doing something
The basket protection parameters can be ignored for the moment as the code behind them is disabled
Version 1.3 - 8 Sept. 2011
Some quite major changes in this release, which directly affect the profitability of the bot, use wisely
Ability to exclude temporarily pairs from the basket, to assist a script has been written to exclude / include the pair (!T101 Exclude Include Pair). For those with move savvy, you can press F3 and set the global variable manually without the script
Ability to trade certain pairs in the opposite direction, this is set up in parameters and shouldn't be changed that often. Note:- to make the pair balance screen make sense, pairs that are traded oppositely have their value multiplied by -1 so it matches the rest of the basket
Improved break even & lock handling, bot will now automatically set to breakeven + lock, the set to breakeven value can be modified via global variables (F3)
Start trailing at value can now be modified via global variables (F3)
Fixed problem with extra data being displayed when not using basket 14
Version 2.0 - 12 Sept. 2011
PLEASE READ THE DOCUMENTATION IN THE ZIP FILES BEFORE LOADING UP THE EA / TLE's / SCRIPTS etc.
In this version:-
Full range of pending orders
Trade Logic Engine support
Hedging
Version 2.1 - 12 Oct. 2011
In this version:-
Improved pending "limit" order processing
Fix for data not being displayed when not using Basket 14
Stop & Reverse button
Last Basket Profit now displayed
Current Minimum profit (ie. trailing value) now displayed
Ability to "suspend" the robot
Trailing/TP/SL values etc. now controlled by magic number (in global variables) allowing mulitple robots to run with different trailing/tp/sl options
Takeprofit value can now be negative (for when trades have gone against you and wanting to get out at min loss)
THIS VERSION IS THE ONE ATTACHED DIRECTLY TO THE MESSAGE, NOT IN THE ZIP.
This thread was inspired by Steve H. and Telac who prompted me to read yet another one of Steve H.'s many robot threads.
My concept for this bot is that it will start off simple and then (hopefully) grow.
Although this bot was originally designed to be used in conjunction with NanningBob's 10.0 philosophy, it can also be used as a stand-alone trader for the T101 system using whatever manual system you have in place.
This first post will be continually updated with the latest information on the bot.
IMPORTANT
I have no idea how well this bot will play with others, be careful when using other bots (for instance MPTM) to manage trades opened by this bot
NOTE: My combined knowledge of NB 10.0 & T101 could be written on the back of a postage stamp!!! If you have any specific questions regarding either hopefully someone more enlightened than me will be able to help you.
Regards, John
Version 1 - 6 Sept. 2011
Basic manual trading bot of the T101 method with NB 10.0
Runs off the T101 offline chart (use "fix" version of T101 indi attached to send ticks to the offline chart)
Hedging still has problems so has been temporarily disabled
Fully automatic trading is not implemented yet as someone needs to tell me if the logic for the alerts is correct
Parameters
PairsInBasket - the number of pairs in the basket (uses same pairs as T101)
PairSuffix - if the pairs have a suffix (eg "m")
UseNanningBobBasis - switch to true if you want to control the types of alerts sent using NanningBob definitions
UseTradeConditions - switch to true if you want to receive the alerts based on the NanningBob definitions (false if you use your own methodology)
LotSize - self explanatory
UseTakeProfit - self explanatory
VisualTP - set to true if you want a line to be displayed on the chart where you want the TP to be based on offline Price Action
DefaultTP - number of pips away from bid by default
ValueTP - set to true if you wish to use a value based TP
DefaultTPValue - amount in account currency of the TP
UseStopLoss - self explanatory
VisualSL - set to true if you want a line to be displayed on the chart where you want the SL to be based on offline Price Action
DefaultSL - number of pips away from bid by default
ValueSL - set to true if you wish to use a value based SL
DefaultSLValue - amount in account currency of the SL
AllowHedging - temporarily unavailable
DefaultMinProfitValue - the default minimum profit value in acct. currency (similar to BE + Lock)
NOTE:- Once you set the min profit for a open basket, the value for the basket can be modified using F3 and changing the variable "!T101 Min. Profit Value"
BasketMagicNbr - self explanatory
SleepSecs - self explanatory, this is a always ON bot, the bot must be removed to access the parameters once loaded
Version 1.1 - 7 Sept. 2011
Ability to trail, either by fixed dollar amount or percentage
Fixed problems with rank values always been short by 1 USD
Changed the definition of min profit to break even
Added the ability to enter “Pending” orders
Fixed the multiple alert problem
Added message box confirmations to the important buttons of buy/sell (normal & pending) and close
There are several new parameters but most of these should be self explanatory and mainly deal with the trailing aspect
Version 1.2 - 7 Sept. 2011
When there is an open basket it shows the pair in the basket that doesn't have an open order (either because user closed, error on send)
When there is no open basket, the current basket balance is displayed (when there is a open basket the balance value is shown in brackets after the P/L for the pair)
The Open & Close basket routines are now more stable and less prone to TradeContextErrors
The currency list for Basket 14 has been corrected
When the EA is doing some processing that can take some time because of needing to wait for confirmations from broker the EA will now display PROCESSING, so you at least know it is doing something
The basket protection parameters can be ignored for the moment as the code behind them is disabled
Version 1.3 - 8 Sept. 2011
Some quite major changes in this release, which directly affect the profitability of the bot, use wisely
Ability to exclude temporarily pairs from the basket, to assist a script has been written to exclude / include the pair (!T101 Exclude Include Pair). For those with move savvy, you can press F3 and set the global variable manually without the script
Ability to trade certain pairs in the opposite direction, this is set up in parameters and shouldn't be changed that often. Note:- to make the pair balance screen make sense, pairs that are traded oppositely have their value multiplied by -1 so it matches the rest of the basket
Improved break even & lock handling, bot will now automatically set to breakeven + lock, the set to breakeven value can be modified via global variables (F3)
Start trailing at value can now be modified via global variables (F3)
Fixed problem with extra data being displayed when not using basket 14
Version 2.0 - 12 Sept. 2011
PLEASE READ THE DOCUMENTATION IN THE ZIP FILES BEFORE LOADING UP THE EA / TLE's / SCRIPTS etc.
In this version:-
Full range of pending orders
Trade Logic Engine support
Hedging
Version 2.1 - 12 Oct. 2011
In this version:-
Improved pending "limit" order processing
Fix for data not being displayed when not using Basket 14
Stop & Reverse button
Last Basket Profit now displayed
Current Minimum profit (ie. trailing value) now displayed
Ability to "suspend" the robot
Trailing/TP/SL values etc. now controlled by magic number (in global variables) allowing mulitple robots to run with different trailing/tp/sl options
Takeprofit value can now be negative (for when trades have gone against you and wanting to get out at min loss)
THIS VERSION IS THE ONE ATTACHED DIRECTLY TO THE MESSAGE, NOT IN THE ZIP.
Attached File(s)
T101 Basket Trader.zip
231 KB
|
5,671 downloads
|
Uploaded Sep 12, 2011 12:41pm
T101 Basket Trader v2.mq4
90 KB
|
2,609 downloads
|
Uploaded Oct 12, 2011 4:33pm