OmniTrader Professional Forum OmniTrader Professional Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


This message cannot be deleted. It is the first message of the thread.
Administrators or moderators may choose to delete the entire thread


 
John W

Regular
252525
Posts: 96

Joined: 6/18/2011
Location: Sydney, NSW, Australia

User Profile
 
Subject : Possible Error in PortSim and Advisor
Posted : 5/24/2021 12:42 AM
Post #31496

I recently noticed some differences in actual trades and the PortSim results.

It appears that the Advisor and PortSim do not use the correct exit price when the market opens below the stop and the market then reverses and rises.
The market open price is below the stop and should be used in the calcs, but instead the higher stop price is being used incorrectly.

This can lead to significant errors in backtesting and ongoing profitability reporting in Port Sim.

The Advisor and PortSim do work correctly where the market opens below the stop price and the market then continues to fall below the open price.
In that case the market open price is correctly used for the calc.

An example is shown below using the default broker Trade Plan:




[Edited by John W on 5/24/2021 12:47 AM]

Attached file : incorrectstopcalc.jpg (231KB - 600 downloads)

Deleting message 31496 : Possible Error in PortSim and Advisor


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.