Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I studied it and i think that there's no way to do what i want.
There is a big limit in portfolio trader in my opinion, in fact seems that there isn't a way to scan how many trading system will trigger their signal, so i can't decide which of them will be allowed to execute their trade or not.
I would like to have some feedback about it if it's possible
Regards
No Erocla
I am not sure what you are looking for exactly, but if you study the Portfolio Trader Manual and the example strategies you will see that you can know how many signals want to enter and as you can set which ones are allowed to enter, you can know this, too.
I just would like to count how many strategies are going to enter at market (market position <>0)
Then, i would like to choose randomly just one of them allowing it to enter at market.
(This limit leverage.)
So i've to deny all strategies to enter at market (pmms_strategies_deny_entries_all() ) ..... but now i can t check marketpositions
I hope that ill find a way to solve this problem, then i will post finally the code.
Unfortunatly not, i really can't find a way to count how many signals want to enter.
With portfolio trader i can allow or not some strategy to works, but i can't know if they will change their market position or not (i.e. want to enter at market or not).
What about making it available using "pmm_set_my_named_num" for example? When a strategy wants to enter long, you set it to +1, -1 for short and 0 for no entry. Then all you need to do is cycle through the strategy ids and you know exactly which one wants to enter.
You have the code for your individual strategy and you can set a value for a pmm_set_my_named_num at the code location where it triggers the order.
Check the build in Portfolio Trader strategies and the corresponding manual for the three strategies explaining the code in detail. You can use the Rank strategy as example on how to set a value in the strategy and cycle through all strategies from the money management signal.
Pmm keywords can be used only in Portfolio Trader strategy so i can't put them into my Signals.
Should i put all conditions of all of my strategy into a single portfolio trader code ?
I hope that there's an easiest way.