Posts: 3,765 since Jun 2009
Thanks Given: 3,825
Thanks Received: 4,629
|
There is an easy way to do this, maybe not the cleanest/faster way, but easy: let your variable be a file.
In the Long strategy, if the order is triggered, and their is no "short.txt" file, create a file "long.txt".
In the Short strategy, check if a file named long.txt exists, and don't take the trade if yes.
Much easier to do than writing a .dll which manage a GV.
Success requires no deodorant! (Sun Tzu) |
|