Multicharts support has informed me that to accomplish my goal, I can use their default Portfolio Rank MM signal within Portfolio Trader. This signal and other such MM signals are used as examples here https://www.multicharts.com/trading-sof ... k_Strategy to describe how these signals and the PMM Keywords they rely upon (discussed here- https://www.multicharts.com/trading-sof ... M_Keywords) work.
Despite examining these resources closely, using print statements to examine the code for these symbols in the print log, and contacting support, I still cannot understand what this default MM signal is meant to do. For example, in the example code, Multicharts writes the following:
What is "RankStrategyR" supposed to be? Is it a declared variable within a signal under the strategy found at index "idx" (the first parameter in the pmms_get_strategy_named_num function)? For my purposes, if I want Multicharts to rank the priority of all of my orders according to a variable "value1" found in signal "Signal 1" in strategy "Strategy A", is it enough to replace "RankStrategyR" in Multichart's default code above with my variable "value1" to have the MM signal look at all open orders and only allow the one order to be executed with the highest "value1" variable in the signal of the strategy found at index "idx"?Extract indicators’ values for every instrument:
for idx = 0 to portfolioStrategies - 1 begin
BaseR[idx] = pmms_get_strategy_named_num(idx, "RankStrategyR");
I have desperately tried to print the value of declared variables in my strategy by replacing "RankStrategyR" with them, but nothing gets returned, making me think I'm just not understanding what this MM signal is meant to do. Can someone help me understand, and if this MM signal doesn't accomplish what I desire it to, can someone advise me on how to create one that does?