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.
Allow Arbitrary Expressions to be Used in Studies' Inputs
- Dave Masalov
- Posts: 1712
- Joined: 16 Apr 2010
- Has thanked: 51 times
- Been thanked: 489 times
- 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
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.
Re: Allow Arbitrary Expressions to be Used in Studies' Input
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
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
Re: Allow Arbitrary Expressions to be Used in Studies' Input
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 ?
Now, given this fact, one might ask ....
what other differences are there in the dot-net release vs. the power-language version ?
Re: Allow Arbitrary Expressions to be Used in Studies' Input
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.
Regards.
- 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
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.
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.
- ABC
- Posts: 722
- Joined: 16 Dec 2006
- Location: www.abctradinggroup.com
- Has thanked: 125 times
- Been thanked: 410 times
- Contact:
Re: Allow Arbitrary Expressions to be Used in Studies' Input
What happened to this proposal did you end up implementing it?
Regards,
ABC
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.
- 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
Hello ABC,What happened to this proposal did you end up implementing it?
Regards,
ABC
This feature has not been implemented yet. At the moment it is not targeted to any particular version of MultiCharts .NET.