Jump to content
Medved Trader Forums
  • 0

Min/Max of indicators


gidielle

Question

Now we can have the value of price indicators for close, open, high, low, etc etc ... so I can set high/low and I know relative max/min during a candle.

For volume indicators as Bav Trend or price/volume indicators as Chaikin/Twiggs Money Flow isn't possible, the max of volume doesn't match with high price.

Would be very useful to have the min/max value of these indicator for every candle.

if it is so heavy to calculate and plot, it would be calculate only in real time.

thx

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

no, min/max would be displayed as all other indicators.

to calculate, think to Chaikin/twiggs Money Flow, when MT open the chart it would calculate the value tick by tick to have the min/max for every candle, this (I believe) could be very heavy for MT/processors so MT could calculate the indicator only in real time, using a pointer to save min/max, and dislay on the chart the indicators from that moment.

the same if you change the set of the chart/indicator, MT begin to display the indicator only from that moment

thx

Link to comment
Share on other sites

  • 0

Maybe I'm wrong but I believe min and max would be calculate easily:

 

If (Bar Close == Bar Open)

(

      Max = f(x);

      Min = f(x);

);

If (Bar Close != Bar Open &&  f(x) > Max)

(

      Max = f(x);

);

If (Bar Close != Bar Open &&  f(x) < Max)

(

      Min = f(x);

);

Link to comment
Share on other sites

  • 0

Yes. Once we allow custom indicators. We need to provide the editor for it, with syntax detection, compile errors etc etc etc. Then deal with the security issues. But we're working on this.

 

The ticks will be available to you in the custom indicator to compute whatever you want... Still - computing an indicator on every tick (instead of on the candle's values) during a "full recalc" on initialization of the chart will be slow, so I would suggest doing that only on the partial recalcs (that is, as the data comes in).

 

I will address this in the manual when we release the custom indicators.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...