Allow Arbitrary Expressions to be Used in Studies' Inputs

Questions about MultiCharts .NET and user contributed studies.
User avatar
Dave Masalov
Posts: 1712
Joined: 16 Apr 2010
Has thanked: 51 times
Been thanked: 489 times

Allow Arbitrary Expressions to be Used in Studies' Inputs

Postby Dave Masalov » 10 Jan 2013

Dear Users,

We are thinking about allowing arbitrary expressions to be used in MC .NET studies' inputs as it is implemented in regular MC PowerLanguage. For example, Mov Average indicator does not allow to use anything other than Close to be used as a price. PowerLanguage allows custom values, like (High+Low)/2.

Would you be interested in this feature? Please post your feedback in this thread.

Zoli
Posts: 90
Joined: 12 Sep 2012
Has thanked: 24 times
Been thanked: 38 times

Re: Allow Arbitrary Expressions to be Used in Studies' Input

Postby Zoli » 10 Jan 2013

Hi Dave,

My personal vote is a YES
a) because many users need it
b) to keep the industry standard

GTrader
Posts: 83
Joined: 30 Oct 2012
Has thanked: 24 times
Been thanked: 8 times

Re: Allow Arbitrary Expressions to be Used in Studies' Input

Postby GTrader » 10 Jan 2013

Can it be optional by defining the input type?

Are there any negatives to allowing it?

User avatar
JoshM
Posts: 2195
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1544 times
Been thanked: 1565 times
Contact:

Re: Allow Arbitrary Expressions to be Used in Studies' Input

Postby JoshM » 11 Jan 2013

I think this is a good idea, since it allows for much more versatile indicators and strategies. If there aren't technical drawbacks to this implementation or code breaking changes, then I'm surely in favour of implementing it.

MidKnight
Posts: 343
Joined: 12 Aug 2012
Has thanked: 123 times
Been thanked: 56 times

Re: Allow Arbitrary Expressions to be Used in Studies' Input

Postby MidKnight » 12 Jan 2013

Its a great idea and several platforms I have used in the past allow it.

Another thing to consider in conjunction OR even as an alternative would be to allow any data series (price or indicator output) to be used as indicator input. This allows for many generic indicators to be chained together to produce more complex indicators without actually needing to code the more complex indicators. Its a great way to explore ideas and for new users or programming limited users to still get lots of power out of a charting package.

With kind regards,
MK

User avatar
syswizard
Posts: 295
Joined: 15 Dec 2012
Has thanked: 16 times
Been thanked: 28 times

Re: Allow Arbitrary Expressions to be Used in Studies' Input

Postby syswizard » 14 Jan 2013

Why wasn't this adopted right out of the box ?
Now, given this fact, one might ask ....
what other differences are there in the dot-net release vs. the power-language version ?

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

Re: Allow Arbitrary Expressions to be Used in Studies' Input

Postby Fabrice » 14 Jan 2013

I don't know if it is the right topic for this but being able to use arbitrary expression in the Take Profit and Stop Loss strategies (in the DOM when doing manual trading) would also be nice.
Regards.

tekram
Posts: 96
Joined: 26 May 2009
Has thanked: 6 times
Been thanked: 18 times

Re: Allow Arbitrary Expressions to be Used in Studies' Input

Postby tekram » 14 Feb 2013

+1
This would make MC.Net a lot easier to use.

User avatar
Laurentius
Posts: 90
Joined: 01 Jan 2011
Location: Europe
Has thanked: 138 times
Been thanked: 36 times

Re: Allow Arbitrary Expressions to be Used in Studies' Input

Postby Laurentius » 08 Mar 2013

+1
Greater flexibility sounds good.

davewolfs
Posts: 89
Joined: 06 Feb 2013
Has thanked: 2 times
Been thanked: 11 times

Re: Allow Arbitrary Expressions to be Used in Studies' Input

Postby davewolfs » 19 Mar 2013

My honest opinion is that this is a bit of a "boring" feature.

Given that you now support .NET 4.0 this could be made significantly more user friendly and powerful.

Rather than support a few keywords. Why not go the route of supporting a scripting language like F# which will instantly have built in support for your .NET API.

See http://www.tryfsharp.org/Create

Picture a parameter dialog box that had syntax highlighting just like the above link.

You could easily create an indicator which took actual code as a parameter and ran it when the user hit save. This would be far more powerful and also make MC.NET significantly easier to use.

In general, adding support for F# through the power language editor would be a welcome addition.

FB2013
Posts: 20
Joined: 12 Mar 2013
Has thanked: 3 times
Been thanked: 5 times

Re: Allow Arbitrary Expressions to be Used in Studies' Input

Postby FB2013 » 31 Mar 2013

Indeed I think that would be a great feature, if it does not afford to rewrite my currently written indicators.

User avatar
ABC
Posts: 718
Joined: 16 Dec 2006
Location: www.abctradinggroup.com
Has thanked: 125 times
Been thanked: 408 times
Contact:

Re: Allow Arbitrary Expressions to be Used in Studies' Input

Postby ABC » 16 Sep 2014

What happened to this proposal did you end up implementing it?

Regards,
ABC
Dear Users,

We are thinking about allowing arbitrary expressions to be used in MC .NET studies' inputs as it is implemented in regular MC PowerLanguage. For example, Mov Average indicator does not allow to use anything other than Close to be used as a price. PowerLanguage allows custom values, like (High+Low)/2.

Would you be interested in this feature? Please post your feedback in this thread.

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

Re: Allow Arbitrary Expressions to be Used in Studies' Input

Postby Henry MultiСharts » 22 Sep 2014

What happened to this proposal did you end up implementing it?

Regards,
ABC
Hello ABC,

This feature has not been implemented yet. At the moment it is not targeted to any particular version of MultiCharts .NET.


Return to “MultiCharts .NET”