Comments

  • Stefan
    8.11.2015 16:11:08

    Eduardo, I am sorry to hear that you lost some money just because you did not understand what staking plan you actually execute with your strategy and what maximal liability could be reached by your bot settings.

    I think you used some of bot triggers from My Staking Plan series, describing how to program a bot trigger with a custom staking plan:

    The staking plan was implemented by Eric’s requirements for his betting strategy:

    If there is a loss, double my stake and add previous loss to my stake.
    If there is a loss and my previous bets are in profits, then double stake only.
    If there is more than 3 consecutive losses then bet with default stake. 

    So the bot trigger implemented two parameters: Stake and NumberOfRecoveryBets. Depending on what betting strategy was executed, we do not know if his action bot placed back or lay bets on selected horses and at what average odds range, only he knew what could be his maximal labiality on his final bet placed at the recovery plan.

    Knowing what you actually do and what could be maximal liability bet when executing any staking plan is absolutely crucial for any successful strategy.

    The worst case scenario is when all goes well when testing and without aware of the risk you switch to execute your strategy with real money too soon. That is a price you paid to learn that you must test weeks and not days to test your strategy.

    Here are my answers to your original question:

    First of all, you already used a bot trigger with staking plan implementation, so if you wanted to add some stop criteria for your action bot, for instance when total target loss is reached then such criteria should be added to the bot trigger code.

    You tried to use “Execute Till Target Profit” bot setting the bot parameter: TargetProfit to -10.0 (minus ten), hoping that such bot setting will stop your action bot execution when loss is reached.

    Such settings cannot definitely work, and there 2 reasons why it cannot work.

    The bot implementation works only with profit, if bot would implement target loss then you could find it in bot parameters listing, for insistence the parameter would be named: TargetLoss.

    The bot checks if target profit is reached by comparing the current profit with the target parameter value. When current profit is bigger or equal to set target profit then action bot execution is stopped.

    In school we learned that zero or positivity value is bigger than any negative value, right? Even minus one is bigger than minus two, therefore your bot stopped action bot execution at first execution, as 0 is bigger than -10.

    I can update the bot: “Execute Till Target Profit” to work with a target loss in my next bfexplorer release.

  • Edumadrid
    6.11.2015 19:06:09

     Hi Stefan:

    A few days ago I lost € 240 with a stake of 1 €, I used the robot "Lay favorite with my staking plan. -10"

    I had four straight losses and did not stop when the robot lost 10 €.

    Please, Stefan, how can I do so that the robot stops when it reaches the established loss?

    It would be possible to divide the bankroll into several parts and using only a part and if anything is unsettles, which lost only one of the parts and not all parts?

    Thanks in advance.

  • Stefan
    5.11.2015 13:09:59

    Please translate to Spanish what it means “Entry Criteria”.

    Those parameters, if set then refer to the current market ProfitBalance, so your action bot will continue its execution only if current Profit Balance on the market is greater or equal 10, that means that on this market you already placed bets and your current profit balance is >= 10.

  • Stefan
    5.11.2015 13:02:18

    It would be really great if you mention which bot you are using, and if you refer to some article on forum, then add link to this article.

  • Edumadrid
    27.10.2015 15:34:08

     

    Sorry Stefan, but I had not seen "Trigger Parameters"

  • Stefan
    27.10.2015 14:22:34

    I wonder why you do not set this parameter using the "TriggerParameters" parameter of the Execute Trigger Bot? It seems you like to overcomplicate things; otherwise I do not understand the way you think.

  • Edumadrid
    27.10.2015 13:44:08

    Hi Stefan:

    "How to change the stake in this Trigger? MyStakingPlanTrigger.dll"

    I can change the stake MyStakingPlanTrigger.fs but not .dll extension.

    http://pasteboard.co/1GKc0Ep3.jpg

    http://pasteboard.co/1GKuxoTg.jpg

     

     

  • Stefan
    27.10.2015 13:20:37

    The script uses filePathName to save your results to CSV file. You must change the value of filePathName to reflect your computer settings, I mean existing drive and folder on your computer.

  • Edumadrid
    27.10.2015 1:41:53

    Hi Stefan:

    http://pasteboard.co/1FZ1VP95.jpg

    Error: SaveMyResultData

    Eduardo

  • Edumadrid
    27.10.2015 1:20:45

    Hi Stefan:

     

    How to change the stake in this Trigger? MyStakingPlanTrigger.dll

    Thanks in advance

    Eduardo

  • Edumadrid
    8.10.2015 0:44:15

     

    Thank you, all right

  • Stefan
    7.10.2015 10:08:52

    Delete all workspaces, exit bfexplorer and reopen it again, recreate your workspaces.

  • cardurco
    6.10.2015 19:31:33

     thanks! all ok!

  • Stefan
    5.10.2015 10:09:40

    Video is from old bfexplorer, but the concept is the same.


    Create in NinjaTrader new instruments and name them SEL1, SEL2, SEL3 … 


    Activate/Connect External data feed in NinjaTrader.


    Open a market and NinjaTrader tool in bfexplorer.


    Select a market selection you want monitor, and activate Monitoring in NinjaTrader bfexplorer tool.
    In NinjaTrader you will that Orders panel is populated with data, well of course if name of instrument is set to SEL1.


    Now you can create a new chart in NinjaTrader.

  • Mir.
    28.9.2015 20:28:31

    Can you set as default Best Fit (all columns)?

     

     

    -----------------------------

    I and after all you too in your videos this setting repeatedly used

  • Stefan
    26.9.2015 18:12:40

    Miro, “Trailing Stop Loss” bot had been operating correctly in my video. Maybe the name of the bot or just its parameter name: Loss is a little bit misleading. This bot actually never closes your bet position in loss, but only when your bet position can be closed in a profit, and when the biggest reached profit is reverted to lose its profit by set amount of ticks (the Loss parameter).


    On my video you could see that when I executed this bot it set the target odds two ticks above the open odds, what were 3.05. Now when odds moved down the target odds was set x ticks lower depending on for how many ticks odds went down.


    The Loss parameter was set to 2 ticks; those 2 ticks make a buffer zone for closing bet position. It is pity that I switched from ladders to grid view at the moment when “Trailing Stop Loss” had been triggered.


    I wanted to show that bfexplorer in that moment operated with matched orders/bets and with automated orders/bots, so I showed Market Bets and Market Bots views side by side, and similar like you cancel unmatched orders/bets, you can stop automated orders/bots.


    In my video I created special type of bot which used to close bet position by trailing stop loss in profit, and close selection bet position at odds. I hope you understand how this bot was constructed, and how the ladder entry was used to set odds at which the bot should close bet position in loss, it was set to 3.35.

  • Stefan
    25.9.2015 12:44:09

    Miro, how is the bot presented in Market Bots view when running?


    It is presented as a Selection Bot, in the column Selection there is a selection name on which the bot is running. It means that Profit value is a current selection profit balance you can see as red or green value presented on close buttons, or anywhere in bfexplorer user interface (Watched Selections, Ladders, Market Selections buttons, or Bet Event selection buttons)


    I believe you already figured out that if you click on green or red button/rectangle anywhere in bfexplorer, the selection bet position is hedged to this value.


    There is only one bot running on market and its profit value is associated with market profit balance, the bot name is: Close Market Bet Position.


    ProfitBalance parameter can be found in criteria editors as well; in these editors I will change naming convention adding Selection to the parameter name.


    It would be a good idea if you post separate article if you need to discuss specific bot functionality. Discussion to this article is more chitchat than anything useful.


    I think you found out that I added Comments page:


    http://bfexplorer.net/Comments


    And we all just read those comments without adding useful information to the theme of the original article.

  • Ilya Nikol
    24.9.2015 22:02:59

     

    P.S. I think we are talking about different things. I’m talking about the trading and you are talking about software developing : - )

     

  • Ilya Nikol
    24.9.2015 21:57:29

     

    Stefan, "institutional" traders don't buy any software from vendors they have enough resources to develop their own software which would suite their need much better.

     

    The only who buys software from vendors are "retail/individual" traders.