Pages:
Actions
  • #1 by gh2410 on 01 Apr 2011
  • i'm trying to use this to keep a running total of profit and loss when the channel_trend is above zero so that i have some idea of the outcome if i run this for real and use channel_trend to switch to test mode.....but its proving difficult. My last winning bet (which makes the channel trend go from negative to positive) keeps getting added to my total!!
    Please help.
    Thanks
  • #2 by rubold on 02 Apr 2011
  • It's fairly easy to do.

    You need to define some user variables at the top of the triggers with value 0.

    eg.
    balance_t
    trend_t     and the same with -s suffix if you want to run the standard channel

    Then first trigger:
    set user variable balance_t  Value:  balance_t + last_wl
    Exactly in R1 all selections Turbo channel
    Conditions: Trigger Expression trend_t is equal or greater than 0.01 (or whatever)
    AND:           Channels Previous PL is not equal to 0

    Then you can add your switch test mode on/off triggers using the channel_trend to activate them, but make sure the switch test mode off trigger is greyed out when testing.

    Then your back or lay triggers if in R1

    Next trigger:
    Set user variable trend_t   Value: channel_trend
    Exactly in R2 all selections  Turbo channel
    No Conditions

    Then other back/lay or green up triggers etc.

    Before testing open the user variables window and add the variables:
    balance_t
    balance_s  (if running standard)
    channel_trend.

    These balance variables represent a virtual balance which will be the same as the real balance if running live and switching test mode on/off using the channel_trend value.

    IF you get stuck send me the backing/laying triggers you wish to use and I'll incorporate them into this system.
  • #3 by gh2410 on 03 Apr 2011
  • that works a treat. cheers. I'll try a few triggers out now.
  • #4 by Aleks760 on 03 Mar 2013
  • Hi,
    how do I do it exactly with the switcher ?????

    "Then you can add your switch test mode on/off triggers using the channel_trend to activate them, but make sure the switch test mode off trigger is greyed out when testing."

    Thanks
Pages:
Actions