## Multicharts formulae questions

If you don't know where to start, start here! Don't be afraid to ask questions.

Moderator: moderators

ptcman
rank: <50 posts
Posts: 5
Joined: Thu Dec 04, 2008 11:42 pm
Reputation: 0
Gender:

### Multicharts formulae questions

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.

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.

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?

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.

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

khalid
rank: 50+ posts
Posts: 110
Joined: Wed Mar 14, 2007 2:15 pm
Reputation: 0
Location: Lahore
Gender:
ptcman,

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

Khalid

ptcman
rank: <50 posts
Posts: 5
Joined: Thu Dec 04, 2008 11:42 pm
Reputation: 0
Gender:
khalid wrote:ptcman,

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

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

khalid
rank: 50+ posts
Posts: 110
Joined: Wed Mar 14, 2007 2:15 pm
Reputation: 0
Location: Lahore
Gender:
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

ptcman
rank: <50 posts
Posts: 5
Joined: Thu Dec 04, 2008 11:42 pm
Reputation: 0
Gender:
khalid,

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