Daily data - page 7

 
mladen:
Why should they be removed once the question was asked? On that picture I was not looking for some indicator setups but in that moment it was showing (the daily data) a rather uncommon situation when a bar is late so much and if I was to remove the indicator first and then catch the picture almost sure the condition would have gone ... so ... posted that picture as is And in a case if I remove the original message, in that case a question should be removed too, and why should it be done when not a single rule of good behavior was broken? Check the rest of my posts for pictures where some indicator not related to the post is shown ... as far as I am aware of I am not spamming :):)

Just gave advice, sorry if wrong.

 

...

Don't worry. I was just thinking loud about pro and contra. All is OK :):)

ZIGANI:
Just gave advice, sorry if wrong.
 

Need help

I know this not the place, but i need to find Mladen´s indicator that give us all info ragarding price, during 24 hours. High, low, range etc.... Sorry, i dont remenber the name. I had it in my computer, but due to technical problems, i lost many information.

Thanks in advance and sorry

 

...

baleal

You will find a couple of versions of it at this thread. First on is on the first post, and the latest one is at this post https://www.mql5.com/en/forum/178698/page3

baleal:
I know this not the place, but i need to find Mladen´s indicator that give us all info ragarding price, during 24 hours. High, low, range etc.... Sorry, i dont remenber the name. I had it in my computer, but due to technical problems, i lost many information. Thanks in advance and sorry
 
mladen:
baleal You will find a couple of versions of it at this thread. First on is on the first post, and the latest one is at this post https://www.mql5.com/en/forum/178698/page3

Fantastic

Thanks for your kindness

rgds

 

Thanks!

That's great!

 

Daily Data for Indices

Hi Guys, I am looking for an indicator similar to MLadens excellent Daily data indicator. It seems most Mt4 is meant for FX whereas I trade UKX,DAX<and DOW. I have tried "Daily Data" and it doesnt seem to register Gaps at the open,plus I dont really want the out of hours movements included. I think the best way forward is to be able to put a number in the pop up box whan an indicator is loaded on to the chart. This would represent yesterdays close 1630Hrs in the case of the Ftse and 2100 for the Dow and the indicator would count points up or down from that.

I dont have any programming experience apart from "basic" yonks ago., but will have a bash. Can anyone get me started.What would this number be? Would it be something like an external constant. Any replies appreciated. Rgds Bill

 

Indices Daily Price Info

Mornin all, Well now I am clear what I want. I want an indicator which I can input yesterdays normal hours price close of indices and on the chart will be displayed the points movement up or down from this figure.

I thinkk the next thing is to get the input figure to be displayed on the screen. Although this is not ultimately what I want, it will be a step forward. This is where i am up to. Rgds. Bill.

//+------------------------------------------------------------------+

//|

//|

//|

//+------------------------------------------------------------------+

#property copyright ""

#property link ""

#property indicator_chart_window

extern int yesterday_close = 00000;

extern int Font_Size = 8;

extern int Arrow_Size = 10;

extern color Up_Color = Green;

extern color Down_Color = Red;

extern color No_Mvt_Color = Blue;

extern int X_Position_Text = 3;

extern int Y_Position_Text = 3;

extern int Corner_Position_Text = 2;

extern int X_Position_Arrow = 3;

extern int Y_Position_Arrow = 90;

extern int Corner_Position_Arrow = 2;

//+------------------------------------------------------------------+

 

Daily price info

Hi All, spent all weekend puzzling over this. Ditched the above code. Now thinking that to input an open price I need to use

empty value. Founf this indicator , can anyone tell me how to change from percent to points/pips. Rgds Bill

/*##############################################################

# DAILY CHANGE INDICATOR #

# #

# This Indicator shows the percentage change between #

# yesterday day close and today actual Price (Bid). #

# It works on any time frame. #

# #

# Copyright: BLACKHAWK #

##############################################################*/

/*

------------------------------------------------------------------------------------------------

Description:

This indicator shows the % Daily Change of yesterday close with respect to actual price (Bid).

It calculates the percentage change between yesterday close price and the actual bid price.

It works on any timeframe.

External Modifications:

You can modify the color and size:

Color: You can change the color for Up Movement, Down Movement and No Movement

Size: You can change the text font size and the arrow size

You can modify the position of text and arrow:

X_Position You can modify X position (distance) from corner

Y_Position You can modify Y position (distance) from corner

Corner_Position You can select the corner position (0: Top Left / 1: Top Right / 2: Bottom Left / 3: Bottom Right)

------------------------------------------------------------------------------------------------

*/

#property indicator_chart_window

//----------------------------------------------------

extern int Font_Size = 8;

extern int Arrow_Size = 10;

extern color Up_Color = Green;

extern color Down_Color = Red;

extern color No_Mvt_Color = Blue;

extern int X_Position_Text = 3;

extern int Y_Position_Text = 3;

extern int Corner_Position_Text = 2;

extern int X_Position_Arrow = 3;

extern int Y_Position_Arrow = 90;

extern int Corner_Position_Arrow = 2;

// ---------------------------------------------------

#define OBJECT "DailyChange"

#define OBJECT1 "ArrowChange"

int start()

{

double ClPrice_D1 = iClose(NULL, PERIOD_D1, 1);

double ActualBid = Bid;

double PercChange = ((ActualBid - ClPrice_D1)/ClPrice_D1)*100;

string ArrowUp = "p"; // 112 Up arrow code

string ArrowDn = "q"; // 113 Down arrow code

string Arrow0 = "";

string Arrow;

color Obj_Color;

string PerChg = "D.Ch.: "+DoubleToStr(PercChange, 2) + " %";

if(PercChange > 0) {Arrow = ArrowUp; Obj_Color = Up_Color;}

if(PercChange < 0) {Arrow = ArrowDn; Obj_Color = Down_Color;}

if(PercChange == 0) {Arrow = Arrow0; Obj_Color = No_Mvt_Color;}

string ArrowChg = Arrow;

if(ObjectFind(OBJECT) < 0)

{

ObjectCreate (OBJECT, OBJ_LABEL, 0, 0, 0);

ObjectSet (OBJECT, OBJPROP_CORNER, Corner_Position_Text);

ObjectSet (OBJECT, OBJPROP_YDISTANCE, X_Position_Text);

ObjectSet (OBJECT, OBJPROP_XDISTANCE, Y_Position_Text);

ObjectSetText (OBJECT, PerChg, Font_Size, "Verdana", Obj_Color);

}

ObjectSetText(OBJECT, PerChg, Font_Size, "Verdana", Obj_Color);

if(ObjectFind(OBJECT1) < 0)

{

ObjectCreate (OBJECT1, OBJ_LABEL, 0, 0, 0);

ObjectSet (OBJECT1, OBJPROP_CORNER, Corner_Position_Arrow);

ObjectSet (OBJECT1, OBJPROP_YDISTANCE, X_Position_Arrow);

ObjectSet (OBJECT1, OBJPROP_XDISTANCE, Y_Position_Arrow);

ObjectSetText (OBJECT1, ArrowChg, Arrow_Size, "Wingdings 3", Obj_Color);

}

ObjectSetText(OBJECT1, ArrowChg, Arrow_Size, "Wingdings 3", Obj_Color);

WindowRedraw();

}

//--- INIT AND DEINIT ------------------------------------- //

int init()

{

}

int deinit()

{

ObjectDelete(OBJECT);

ObjectDelete(OBJECT1);

}
 

Latest version of daily data on which every color is configurable from parameters (and some minor changes)

Files:
Reason: