Pages:
Actions
  • #1 by bonecrusher on 05 Jun 2013
  • Hi Guys,

    I am having trouble finding a way to "Reload" my whole trigger during a race day automatically.

    Is there a trigger or condition that will RELOAD my whole trigger/blocks just the same as if I clicked the RELOAD button???   ???

    Any help would be apprieciated.

    Thanks Bonecrusher
  • #2 by MarkV on 05 Jun 2013
  • Hi
    May I ask your reason for "reloading" the trigger?
    The button is provided to reload the trigger file after editing the trigger file.
    If you want to stop / start triggers or blocks automatically the trigger actions are:
    activate trigger or block
    deactivate trigger or block

    Otherwise you are looking at a batch file / script to automatically shut down MFP and restart it.
  • #3 by bonecrusher on 05 Jun 2013
  • Hi Mark,

    I am having a major problem with resetting a starting bank trigger when say i am 200 up.

    I want to reset the starting bank trigger to remember the new balance, and start again fresh like at the start of the new day. Remembering from the new increased by 200 balance.

    This i can do but the trigger resets every market after the initial 200 has been reached.

    because i use a trigger exp balance is equal or greater than starting_bank+200

    What would be a way to reset that starting bank trigger????, i have tried execute one time only but that is only good for the first 200.

    once per market resets it every market after the first 200 profit has been reached this is no good also.

    I just can't seem to work it out  ???

    Bonecrusher
  • #4 by MarkV on 05 Jun 2013
  • Hi
    Briefly I would say convert the 200 to a user variable / constant, e.g. top_value.
    trigger exp balance is equal or greater than starting_bank+top_value

    now you can reset user variable top_value using conditions  

    also have a look at trigger action no. 36 reset win/lose history

     
  • #5 by bonecrusher on 05 Jun 2013
  • That's it great stuff  ;D

    Constants i am new to, i am still trying do things the hard way. Now i understand why you brought them in.

    This has opened a whole new way of thinking for me, cheers Mark

    Bonecrusher
  • #6 by mcbee on 05 Jun 2013
  • hi
    the easiest way would be to add a new action to your reset trigger.
    so ADD action
    set user variable starting_bank is equal to balance

    this way every time the reset trigger is activated, the starting_bank takes the new balance, so it will not execute until another 200 has been reached.


    mcbee
  • #7 by bonecrusher on 05 Jun 2013
  • Hi mcbee,

    Just to clarify, i understand add the action to the trigger.

    But is this new action used in conjunction with the constant top_value is 200??

    How would the trigger look exactly now:

    reset starting bank trigger for 200 or above

    or

    reset starting bank trigger for 200 or more loss

    Thanks mcbee i am still a little confused on this situation  :o
  • #8 by bonecrusher on 05 Jun 2013
  • Oh OK i get it

    i have to add the words  " is equal to "

    set user variable starting_bank is equal to balance

    i was looking for them LOL DOH got it now

    like always mcbee sweet info  ;D
  • #9 by mcbee on 05 Jun 2013
  • hi
    Add action
    set user variable
    name     starting_bank
    Value     balance


    mcbee
  • #10 by bonecrusher on 05 Jun 2013
  • Oh OK yes i already had that then, thanks for the clarification  :)

    Bonecrusher
Pages:
Actions