Pcnt_Decrease indicator refuses to compile  [SOLVED]

Questions about MultiCharts .NET and user contributed studies.
Fabrice
Posts: 182
Joined: 14 Jun 2011
Has thanked: 44 times
Been thanked: 30 times

Pcnt_Decrease indicator refuses to compile

Postby Fabrice » 22 Dec 2012

I get this error :
The type or namespace name 'RateOfChange' could not be found (are you missing a using directive or an assembly reference?) "Pcnt_Decrease" [Indicator] Ln 17

Line 17 is : private RateOfChange m_rateofchange1;

I have tried to replace RateOfChange with _Rate_of_Chg and _RateOfChange but it still fails to compile.

I do not use Pctn_Decrease indicator. RateOfChange is listed in the function browser. I do not think having changed anything to the RateOfChange function. I do not use it.

It seems this problem arose right after the upgrade to 8.1 beta1.

PS: Pcnt_Increase and PcntChg fail to compile also.
- Pcnt_Increase for the exact same reason
- PcntChg because of the line "private PercentChange m_percentchange1; "

Fabrice
Posts: 182
Joined: 14 Jun 2011
Has thanked: 44 times
Been thanked: 30 times

Re: Pcnt_Decrease indicator refuses to compile

Postby Fabrice » 23 Dec 2012

Have tried to "repair" from the setup of MC.Net 8.1 beta 1. Has changed nothing.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Pcnt_Decrease indicator refuses to compile

Postby Henry MultiСharts » 24 Dec 2012

Hello Fabrice,

Pcnt_Decrease, Pcnt_Increase and PcntChg studies were renamed in MultiCharts 8.1 beta 1.
You should have newly added and compiled Percent_Decrease, Percent_Increase and PercentChg studies in the list.
If you have them - you can delete obsolete Pcnt_Decrease, Pcnt_Increase and PcntChg studies.

Fabrice
Posts: 182
Joined: 14 Jun 2011
Has thanked: 44 times
Been thanked: 30 times

Re: Pcnt_Decrease indicator refuses to compile  [SOLVED]

Postby Fabrice » 28 Dec 2012

I have manually deleted these useless studies in 8.1 beta 1. Thanks.
Regards.


Return to “MultiCharts .NET”