Maxpositionprofit issue

Questions about MultiCharts and user contributed studies.
steven
Posts: 37
Joined: 07 Jun 2010
Location: china
Has thanked: 2 times
Contact:

Maxpositionprofit issue

Postby steven » 15 Sep 2010

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

User avatar
Dave Masalov
Posts: 1712
Joined: 16 Apr 2010
Has thanked: 51 times
Been thanked: 485 times

Re: Maxpositionprofit issue

Postby Dave Masalov » 15 Sep 2010

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.


Return to “MultiCharts”