Click here to Login





                                                   Debugging System in Simulator

  0

0
Alexander Horn
2014-02-01 02:56:57


How can I visualize the data / vectors the Simulator created on a per bar base? Tried using Output() and OutputList() in the Simulator, but seems it does not work.

As example, say I'd like to vizualize for each bar / symbol the value of 'System', ''Rang' and 'buy' from below, how can I achieve this?

Frequency = FirstTradingDOM();
System = Ema(ref(close,1)*21,21);
Rang = comp(System,"rank");
buy = Frequency and (Rang <=assets);

Lines of thought:
1) Acessing variables through AMM to Global.Trace() there?
2) Passing vectors to custom formula to Global.Trace() there?
3) Any other way? using excel output?

Looked through the forum, but could not find any related post. A concrete example example would be helpful. Thks,









QuantShare
2014-02-01 12:18:05

  0

Best Answer
You can do that by compiling formulas in AMM or global script (Tools -> Script Editor) then using Global.Trace()



No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Design and backtest a trading system with two strategies
Optimizable Fibonacci Long and Short Trading System
Trading System Template: Position Sizing Techniques
Generic Trading System Template
Money Management System to Split Order Into Smaller Pieces

How-to Lessons
How to optimize an indicator in your trading system
How to optimize the stop limit of a trading system
How to add a metric in the trading system simulation report
How to debug a trading system using the money management tool
How to optimize the number of positions in a trading system

Related Forum Threads
Simulator Trading System Report
Ranking System Manager and Simulator yield very different results
Trading system optimization using the QuantShare API Simulator
Trading System Simulator reports into future
Ranking System with Trading System Help, Revisited

Blog Posts
3 ways to rank stocks in a trading system - Simulator and Potfoli...
Inverse Fisher Transform: Indicator, composite and trading system
5 position sizing techniques you can use in your trading system
How to choose which technical indicators to use in your trading s...
Ranking system calculation methods









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.