Dear TS,
A symbol setting:
bigpointvalue = 300
min movement = 0.2
desc:
I have a strategy running on Symbol A, I have print the below information after the entry:
code:print("MaxpositionprofitX", maxpositionprofit, " ", "EntryPriceX","entryprice");
result:MaxpositionprofitX: 882660.00 EntryPriceX : 2942.2
question:
I think the maxpositionprofit is the largest gain has been reached, but why the maxpositionprofit = 882660 ? it's impossible.
And the other interesting thing is: 882660 = 2942.2*300, that equals maxpositionprofit = bigpointvalue*entryprice ? i'm confused, kindly please help...
Thanks,
Steven
Maxpositionprofit issue
- Dave Masalov
- Posts: 1712
- Joined: 16 Apr 2010
- Has thanked: 51 times
- Been thanked: 489 times
Re: Maxpositionprofit issue
Dear steven,
Please send the full code as well as the workspace to dmasalov@multicharts.com so we can investigate the issue on our end.
Please send the full code as well as the workspace to dmasalov@multicharts.com so we can investigate the issue on our end.