- Added a pips trailing stop. Details in the user guide. Also added extra functionality so that SPG saves the value of a trailing stop in a Global Variable (small filed held on your disk drive), so SPB can pick up where he left off following a platform restart.
- Added the trading done for the week thingy - details in the user guide.
- Thomas and Rene developed a function to return a pair's pip factor that should accommodate just about anything thrown at it, so I have replaced the existing function with theirs.
SUPERIMPORTANT NOTE TO ATR USERS. Zennor's post just a bit higher up made me realise that the GridAtrMultiplier input was an incorrect input. I have changed it to GridAtrDivisor, so SPB will nod divide the ATR reading by GridAtrDivisor to get the distance betw[*]een the grid trades.
DIY enthusiasts and people who want to check my code, here is how to find it:
- Do a search for "//Addition to John's code". This will take you to lines:
- 285
- 721
- 5575
- 5601
- 5630
- 5660
- Do a search for "//Trading done for the week stuff". This will take you to lines:
- 353
- 699
- 1022
- 5752
- 5841
- 5928
- Do a search for "//Thomas and Rene provided this pip factor function. Thanks guys." Copy the new code over the top of your existing function.