Looking for Price Display Indicator - page 3

 

Older thread I know but I am searching and have not found anything just yet.

Thinkorswim has a "Mark" price capability.

What it really is from what I can tell is bid+ask/2

This is helpful as it will match very closely if not 100% the Nadex "Indicative price"

Is there a way to code an indicator that will plot this in the magnified price?

Better yet Inputs to display Bid, As, or Mark ???

I tried to modify the MagnifiedMarketPrice indicator to change the price level to

string Market_Price = DoubleToStr((Bid+Ask/2), Digits);

That does change the posted price but it is not what I expect to see at all....

Price displayed is way off

Thanks in advance for any light you can shed on this.

 
cesande:
Older thread I know but I am searching and have not found anything just yet.

Thinkorswim has a "Mark" price capability.

What it really is from what I can tell is bid+ask/2

This is helpful as it will match very closely if not 100% the Nadex "Indicative price"

Is there a way to code an indicator that will plot this in the magnified price?

Better yet Inputs to display Bid, As, or Mark ???

I tried to modify the MagnifiedMarketPrice indicator to change the price level to

string Market_Price = DoubleToStr((Bid+Ask/2), Digits);

That does change the posted price but it is not what I expect to see at all....

Price displayed is way off

Thanks in advance for any light you can shed on this.

That is because some brokers have bid and ask that have nothing in common with the current price displayed at the chart (for example both bid and ask higher than the current close)

 

Thanks for the quick reply.....

I saw an error in my math and changed to this and it works !

string Market_Price = DoubleToStr(((Bid+Ask)/2), Digits);

Not sure this is appropriate to ask for help on another indi I am working on here, but will shoot....

Any way to point me in the right direction on this one?

I have the attached plotting previous close of the recently closed candle, but have 2 issues with it.

1) it is only printing the 4th digit... I would much prefer it to plot the 5th.

2) any way to make the text larger and colored?

Thanks

Files:
prevclose.mq4  2 kb
 
cesande:
Thanks for the quick reply.....

I saw an error in my math and changed to this and it works !

string Market_Price = DoubleToStr(((Bid+Ask)/2), Digits);

Not sure this is appropriate to ask for help on another indi I am working on here, but will shoot....

Any way to point me in the right direction on this one?

I have the attached plotting previous close of the recently closed candle, but have 2 issues with it.

1) it is only printing the 4th digit... I would much prefer it to plot the 5th.

2) any way to make the text larger and colored?

Thanks

cesande

Here is a 5 digit display : prevclose_1.mq4

PS: you van not change the color and size for comment. You have to make is as this indicator : https://www.mql5.com/en/forum/177943 as an example if you want to change the size and color of the text

Files:
 

Thank you VERY much sir!

I will hack away at changing to get color and font size by trying to mirror the Mag Price indi....

Was looking into that already ..... wish me luck!

Again thanks much !

 
cesande:
Thanks for the quick reply.....

I saw an error in my math and changed to this and it works !

string Market_Price = DoubleToStr(((Bid+Ask)/2), Digits);

Not sure this is appropriate to ask for help on another indi I am working on here, but will shoot....

Any way to point me in the right direction on this one?

I have the attached plotting previous close of the recently closed candle, but have 2 issues with it.

1) it is only printing the 4th digit... I would much prefer it to plot the 5th.

2) any way to make the text larger and colored?

Thanks

Cesande, will this work for you?

Files:
 

WORK? that is PERFECT...

Thank you again !!!!!

 

Symbol Watermark With Timeframe

watermark.mq4

Files:
watermark.mq4  6 kb
 
mladen:

reservenotes

Try this one :

ATTENTION: Video should be reuploaded
symbol_display.mq4

To have constant color, simple set all the 3 colors to same value

Hello sir mladen. 

Can we have some other options for this indicator. 

It would be: 
- font
- center position
-custom comment. 

Thanks in advance...
Reason: