Hi, Skyline!
I downloaded your new indicator and I do not see on my chart on the upper right corner your suggested TP and so on.
THX
META TRADER 4 THREAD NOW ON KRESLIK.COM
Moderator: moderators
Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.
Thank you for your support.
Marc, on my 17inch screen I found setting price x offset to 160 and price y offset to -125 fixed the problem.marc wrote:Hi, Skyline!
I downloaded your new indicator and I do not see on my chart on the upper right corner your suggested TP and so on.
THX
You might have to experiment a bit .. hope this helps.
cheers
global
global wrote:Marc, on my 17inch screen I found setting price x offset to 160 and price y offset to -125 fixed the problem.marc wrote:Hi, Skyline!
I downloaded your new indicator and I do not see on my chart on the upper right corner your suggested TP and so on.
THX
You might have to experiment a bit .. hope this helps.
cheers
global
Hi, Global!
Look at chart attached. "Suggested TP and Pips Available" are missing.
That's what I wanted to say. I do not know how to solve it.
THX
- Attachments
-
- missing.jpg (94.12 KiB) Viewed 4717 times
Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.
Thank you for your support.
marc wrote:
Hi, Global!
Look at chart attached. "Suggested TP and Pips Available" are missing.
That's what I wanted to say. I do not know how to solve it.
THX
Oh ok yes you have to put on your chart the latest _TRO_RANGE_EZ_P indicator that I posted few posts ago ...and don't forget to change the offsets
Skyline wrote:marc wrote:
Hi, Global!
Look at chart attached. "Suggested TP and Pips Available" are missing.
That's what I wanted to say. I do not know how to solve it.
THX
Oh ok yes you have to put on your chart the latest _TRO_RANGE_EZ_P indicator that I posted few posts ago ...and don't forget to change the offsets
Done it and working.
THX
Skyline wrote:ahhhhhh I cannot stop ehehhe
Added some other cosmetics to the BZ_Skyline indicator (price showed on lines)Code: Select all
//+------------------------------------------------------------------+
//| _BZ_Skyline.mq4 |
//| Skyline, 2008 |
//| http://www.forexpertutti.it |
//+------------------------------------------------------------------+
#property copyright "Skyline,2008"
#property link "www.forexpertutti.it"
#property indicator_chart_window
#property indicator_buffers 7
#property indicator_color1 White
#property indicator_color2 Aqua
#property indicator_color3 Red
#property indicator_color4 LimeGreen
#property indicator_color5 LimeGreen
extern double myEntryTrigger = 4 ;
extern double myProfitTarget = 10 ;
extern double myStopLoss = 7 ;
extern color myHourColor = DarkGray ;
extern int myStyle = STYLE_SOLID;
double OpenLine[];
double BuyLine1[];
double BuyLine2[];
double SellLine1[];
double SellLine2[];
double TargetLine1[];
double TargetLine2[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
SetIndexStyle(0,DRAW_LINE,STYLE_DOT);
SetIndexBuffer(0,OpenLine);
SetIndexStyle(1,DRAW_LINE,STYLE_DASH);
SetIndexBuffer(1,BuyLine1);
SetIndexStyle(2,DRAW_LINE,STYLE_DASH);
SetIndexBuffer(2,SellLine1);
SetIndexStyle(3,DRAW_LINE,STYLE_DOT);
SetIndexBuffer(3,TargetLine1);
SetIndexStyle(4,DRAW_LINE,STYLE_DOT);
SetIndexBuffer(4,TargetLine2);
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
int counted_bars=IndicatorCounted();
int limit;
//----
if( TimeHour(Time[0] ) != TimeHour(Time[1]) )
{
double level= (High[1] + Low[1] + Close[1]) / 3;
SetTimeLine("HourStart", "Hour", 0, White, level+10*Point); // draw the vertical bars that marks the time span
}
//---- last counted bar will be recounted
if(counted_bars>0) counted_bars--;
limit=Bars-counted_bars;
for (int i=0; i<limit; i++)
{
int BarShift = iBarShift(NULL,PERIOD_H1,Time[i],true);
double OpenH1 = iOpen(NULL,PERIOD_H1,BarShift);
OpenLine[i] = OpenH1;
BuyLine1[i] = OpenH1+myEntryTrigger*Point;
SellLine1[i] = OpenH1-myEntryTrigger*Point;
TargetLine1[i] = OpenH1+myProfitTarget*Point;
TargetLine2[i] = OpenH1-myProfitTarget*Point;
}
//----
DisplayText();
return(0);
}
void DisplayText()
{
double OpenH1 = iOpen(NULL,PERIOD_H1,0);
// Text for Open Price
ObjectDelete("OpenText");
ObjectDelete("SellEntry");
ObjectDelete("BuyEntry");
ObjectDelete("ProfitTarget1");
ObjectDelete("ProfitTarget2");
ObjectCreate("OpenText",OBJ_TEXT,0,Time[0],OpenH1);
ObjectSetText("OpenText","Open price - "+DoubleToStr(OpenH1,Digits),8,"Verdana",White);
// Text for Sell Entry
ObjectCreate("SellEntry",OBJ_TEXT,0,Time[0],OpenH1-myEntryTrigger*Point);
ObjectSetText("SellEntry","Sell entry - "+DoubleToStr(OpenH1-myEntryTrigger*Point,Digits),8,"Verdana",Red);
// Text for Buy Entry
ObjectCreate("BuyEntry",OBJ_TEXT,0,Time[0],OpenH1+myEntryTrigger*Point);
ObjectSetText("BuyEntry","Buy entry - "+DoubleToStr(OpenH1+myEntryTrigger*Point,Digits),8,"Verdana",Aqua);
// Text for ProfitTarget1
ObjectCreate("ProfitTarget1",OBJ_TEXT,0,Time[0],OpenH1+myProfitTarget*Point);
ObjectSetText("ProfitTarget1","Buy exit - "+DoubleToStr(OpenH1+myProfitTarget*Point,Digits),8,"Verdana",LimeGreen);
// Text for ProfitTarget2
ObjectCreate("ProfitTarget2",OBJ_TEXT,0,Time[0],OpenH1-myProfitTarget*Point);
ObjectSetText("ProfitTarget2","Sell exit - "+DoubleToStr(OpenH1-myProfitTarget*Point,Digits),8,"Verdana",LimeGreen);
}
//+------------------------------------------------------------------+
void SetTimeLine(string objname, string text, int idx, color col1, double vleveltext)
{
string name= "[PIVOT] " + objname;
int x= Time[idx];
if (ObjectFind(name) != 0)
ObjectCreate(name, OBJ_TREND, 0, x, 0, x, 100);
else {
ObjectMove(name, 0, x, 0);
ObjectMove(name, 1, x, 100);
}
ObjectSet(name, OBJPROP_STYLE, myStyle);
ObjectSet(name, OBJPROP_COLOR, myHourColor);
if (ObjectFind(name + " Label") != 0)
ObjectCreate(name + " Label", OBJ_TEXT, 0, x, vleveltext);
else
ObjectMove(name + " Label", 0, x, vleveltext);
ObjectSetText(name + " Label", text, 8, "Arial", col1);
}
Thx Skyline and TRO for your great work !
- TheRumpledOne
- rank: 10000+ posts
- Posts: 15558
- Joined: Sun May 14, 2006 9:31 pm
- Reputation: 3035
- Location: Oregon
- Real name: Avery T. Horton, Jr.
- Gender:
- Contact:
- TheRumpledOne
- rank: 10000+ posts
- Posts: 15558
- Joined: Sun May 14, 2006 9:31 pm
- Reputation: 3035
- Location: Oregon
- Real name: Avery T. Horton, Jr.
- Gender:
- Contact:
_TRO_PLOT_IND_MP plots an indicator's values from 8 different time frames in real time.
_TRO_PLOT_IND_MP was sent out to people who have made donations as another THANK YOU for their support.
IT'S NOT WHAT YOU TRADE, IT'S HOW YOU TRADE IT!
Please do NOT PM me with trading or coding questions, post them in a thread.
Please do NOT PM me with trading or coding questions, post them in a thread.
Please add www.kreslik.com to your ad blocker white list.
Thank you for your support.
Thank you for your support.