For the life of me, I cannot get the above function to work for me.
I have a Portfolio Trader workspace loaded up with 1 strategy utilizing 2 signals (one an entry, the other an exit).
The entry signal has a variable called "value1" that, for the sake of ease, I set equal to 2.
I then use a Money Management signal (via Portfolio Settings window) with the following code:
Code: Select all
print(pmms_get_strategy_named_num function(0,"value1"))
Can someone please tell me what I'm doing wrong here?
Thanks!