Click here to Login





                                                   Create a Metric in Simulator Report

  0

0
swalk10
2014-10-04 14:58:39


In the simulator Report screen, showing all trading systems, their is an option to create metrics to add to the simulator reports.
I went through the documentation fairly well, and I could not find the documentation on the expected syntax or examples of adding a metric here.
I tried commands like
Functions.AddMetric("avgbar", AverageBarsHeld);
but that did not work.

Could you please post an example, or direct me to some existing ones if I missed it. Thanks much.



swalk10
2014-10-05 11:18:40

  0

Best Answer
My friend, Alex Horn, pointed out the easy path

1) Add metric from simulator menu "create a metric"
2) Use the format Fitness =
then use ctrl space to choose the metric. Compile and save.
3) Select metrics you want to appear in the optimization report

I did this + it works well.

However, in experimenting, I created a formula I need to edit/fix or delete. How do I edit existing fitness metric formulas?

Thanks



swalk10
2014-10-05 11:22:49

  0

Last questioned answered - can edit via load formula; so all is good.


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
Output metric for each trading year
Commitments of Traders Report for Financial Futures
Earnings Whispers: Whisper Report
Entry Price and Exit Price in Trading System Report
Economic Data - Retail Trade Report

How-to Lessons
How to add a metric in the trading system simulation report
How to create a formula
How to create a correlation matrix of several securities
How to create a hatched area in a chart
How to create a composite index/indicator

Related Forum Threads
Simulator Trading System Report
Simulator question
Trading System Simulator reports into future
Error during report creation
Simulator symbols

Blog Posts
Create a HTML or PDF Report of your Trading System Backtesting Re...
The Ultimate Guide to Create Trading Systems in QuantShare
Trading System Analysis: Backtesting report and custom measures
Trading Forex with the commitments of traders report
3 ways to rank stocks in a trading system - Simulator and Potfoli...









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.