Platform with ranking ability for indicator values

The macro code would look something like the below. I would strongly suggest Order Objects rather than Macros, much more flexibility. These would be placed in a indicator, and the indicator would buy or sell. The macro is the easy part, controlling the macro, number of positions, dealing with persistence if connection is lost, etc., etc., is the much harder part. A mistake could fire an order for every incoming tick! There is no strategy protection. If you are not comfortable coding and working through the logic, I suggest you hire someone to do it for you.

Code:
MarketOrder("OncePerBar", Account,"Sell","Equity",Symbol,PositionQuantity);

"A mistake could fire an order for every incoming tick" that's was scary. If in easy language you set your strategy to buy have max one open position in any direction or every symbol to have maximum 2 open position, could that still happen?
 
Last edited:
Yes, it could still happen. With the indicator approach to buying and selling there is no "strategy" and no strategy safeguards, it needs to be coded. Maximum number of positions simultaneously open would likely be a user input. The code would need to track entries and exits to control this.
 
Yes, it could still happen. With the indicator approach to buying and selling there is no "strategy" and no strategy safeguards, it needs to be coded. Maximum number of positions simultaneously open would likely be a user input. The code would need to track entries and exits to control this.

Thanks for head up. And what is order objects and how to creat them for a strategy. Any example or links that explains these details ?
 
There is plenty of information and examples on the TS support forums. You could spend many hours reading. A search of Order Object Example on that forum should be more than enough to get you started.
 
There is plenty of information and examples on the TS support forums. You could spend many hours reading. A search of Order Object Example on that forum should be more than enough to get you started.

Do you have any experience with Muticharts, how Power Language compare to easy language? they seems wanted to copycat everything Trade-station does ....
 
Do you have any experience with Muticharts, how Power Language compare to easy language? they seems wanted to copycat everything Trade-station does ....

Yes, I do. While Power Language and Easy Language are similar syntactically, there are differences in implementation. Operationally, the products have many differences. MultiCharts offers C# as well.
 
Back
Top