Page 1 of 1

Multicharts formulae questions

Posted: Fri Dec 05, 2008 12:20 am
by ptcman
Hi.

I've discovered recently Multicharts and being a long time user of Metastock, MC was like a completely new world for me in terms of formulae concept.

I'd like to leave a couple of questions so you could enlight me on understanding certain functions.

:arrow: Is it possible to accumulate any type of data? Which function? For example, in metastock Cum(1) would plot the total number os bars in the data array, or Cum(volume) would plot all volume (accumulated) in the data array. This function is not the same as the Sum() function.

:arrow: In MC we choose the trading hours of each symbol. Does EL recognizes this trading hours? How could we say for MC to paint all bars of todays trading day? Or between a specific hourly range?

:arrow: In terms of recognizing the beginning of each trading day, how to plot a trendline showing the opening price for the day (open of the first trading day bar?)
This value would be extended until the end of the trading day, like a horizontal trendline.

:arrow: Using the highest() function and if we wanted to plot the highest high of the trading day, this reading would be made from the first bar of the trading bar to the last bar, in other words, from left to right. Now, what about the oposite, from right (last bar) to the the left, first bar of the day? Saying in other orders, as the day would progressed, the trendline that would plot the highest high of the day would be plotted like a horizontal trendline, beginning at the last bar of the day until the first bar of the day. Basically the final result would be a horizontal trendline plotted for each trading day, indicating the high of that same trading day.

The trading day can be a 5 min chart as a 30 min chart.

I apologise for all this questions but if you know metastock formula language, you'll understand my questions since they are completely different.

If you don't have the time to answer all this questions but have formulas were I can see resolutions for my questions, please give me the link for each of them or their name so I can look at them e try to understand them.

Best regards,
ptcman

Posted: Sat Dec 06, 2008 6:57 am
by khalid
ptcman,

Compared to MetaStrock formula language, there are far more EasyLanguage resources on the Internet, quite a few of them free.

Try Google.

Khalid

Posted: Sat Dec 06, 2008 9:58 pm
by ptcman
khalid wrote:ptcman,

Compared to MetaStrock formula language, there are far more EasyLanguage resources on the Internet, quite a few of them free.

Try Google.

Khalid


Hi Khalid.

I've been google it and I really can't find any worth notecing site with easy language formulas or explanations.

Actually, I garantie you that there are a lot more sites about Metastock's formula language then TradeStation/Multicharts easy language.

For example, I've been receiving an floating point invalid operation warning on a formula that I'm trying to develop and I'm not being able to find any type of explanation regarding this.

Is this the same as the division by zero error?

How can we solve this problem?

Can you help me?

regards

Posted: Sun Dec 07, 2008 3:40 am
by khalid
ptcman,

I have only limited EasyLanguage skills, specifically acquired to program the stuff I need.

But I think I can assist with your second, third and fourth requirement; give me until tomorrow evening your time.

Khalid

Posted: Mon Dec 08, 2008 12:27 am
by ptcman
khalid,

Thank you for your interest.

Regarding the floating point error that I've mentioned above, the problem comes from the following formula:

(1-value1/value2)*100

Is there a way for this formula to stop giving this error? Maybe another way for it to be written?

regards