• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 2:08pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 2:08pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Japanese Candlestick Charting Techniques - Steve Nison 15 replies

Scalping techniques on 1 Min chart 26 replies

Support & Resistance trailing stop ea and exits techniques 0 replies

Statistics for charting/TA techniques ? 0 replies

Trading Techniques 0 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 215
Attachments: MT4 navigational tips and techniques
Exit Attachments

MT4 navigational tips and techniques

  • Last Post
  •  
  • 1 4445Page 464748 56
  • 1 45Page 4647 56
  •  
  • Post #901
  • Quote
  • Mar 2, 2015 9:47am Mar 2, 2015 9:47am
  •  5h3r42
  • | Joined Oct 2014 | Status: Junior Member | 1 Post
Hi All,

Can someone tell me how to get the vertical price indicator line back on to the chart. It has gone missing. Any help will be appreciated.
Attached Image
 
 
  • Post #902
  • Quote
  • Mar 2, 2015 10:03am Mar 2, 2015 10:03am
  •  zackery
  • Joined Nov 2011 | Status: Member | 701 Posts
@gumrai:
Thanks for that.But due to the fact that I am not a Coder I don't know where to add the //input int NotUsed=0; in the Code of the Indicator.
Could you please give me a hint?
Regards Zack
 
 
  • Post #903
  • Quote
  • Mar 2, 2015 10:34am Mar 2, 2015 10:34am
  •  zackery
  • Joined Nov 2011 | Status: Member | 701 Posts
Quoting zackery
Disliked
@gumrai: Thanks for that.But due to the fact that I am not a Coder I don't know where to add the //input int NotUsed=0; in the Code of the Indicator. Could you please give me a hint? Regards Zack
Ignored
Okay here is the Indicator itself.Maybe you could give me a direct hint. Thanks.


#property copyright "© honestknave (2015)"
#property version "1.02"
#property strict
#property indicator_separate_window

const string tag = "signals";
input string Title = "1"; // Signal 1
input string Signal1 ="2"; // Signal 2
input string Signal2 ="3";// Signal 3
input string Signal3 ="4"; // Signal 4
input string Signal4 ="5"; // Signal 5
input string Signal5 ="6"; // Signal 6
input string Signal6 ="7"; // Signal 7
input string Signal7 ="8"; // Signal 8
input string Signal8 = ""; // Signal 9
input string Signal9 = ""; // Signal 10
input string Signal10 = ""; // Signal 11
input int x = 6; // Indent from left
input int space = 20; // Spacing between lines
input color colT = clrDarkOrange; // Title color
input color colR = clrDarkOrange; // Rule color
input color colH = clrAqua; // Highlight color
input string font = "Berlin Sans FB"; // Font
input int fsize = 14; // Font size

int OnInit()
{
IndicatorShortName("Signals");
DrawRules();
return(INIT_SUCCEEDED);
}

void OnDeinit(const int reason)
{
if(reason<2 || reason==5)
{
int len=StringLen(tag);
for(int i=ObjectsTotal()-1; i>=0; i--)
{
string name=ObjectName(i);
if(StringSubstr(name,0,len)==tag) { ObjectDelete(name); }
}
}
}

int OnCalculate(const int rates_total,
const int prev_calculated,
const datetime &time[],
const double &open[],
const double &high[],
const double &low[],
const double &close[],
const long &tick_volume[],
const long &volume[],
const int &spread[])
{
return(rates_total);
}

void OnChartEvent(const int id, const long& lparam, const double& dparam, const string& sparam)
{
if(StringSubstr(sparam,0,StringLen(tag))!=tag) { return ;}
if(id==CHARTEVENT_OBJECT_CLICK)
{
ObjectSetInteger(0,sparam,OBJPROP_SELECTED,false);
color col=(color)ObjectGetInteger(0,sparam,OBJPROP_COLOR);
if(col!=colH) { col=colH; }
else { col=(sparam==tag+"T")?colT:colR; }
ObjectSetInteger(0,sparam,OBJPROP_COLOR,col);
}
}

void DrawRules()
{
int y=5;
if(Title!="") { CreateLabel(tag+"T", Title, colT,0,y,false,fsize,font); y+=space; }
if(Signal1!="") { CreateLabel(tag+"1", Signal1, colR,0,y,false,fsize,font); y+=space; }
if(Signal2!="") { CreateLabel(tag+"2", Signal2, colR,0,y,false,fsize,font); y+=space; }
if(Signal3!="") { CreateLabel(tag+"3", Signal3, colR,0,y,false,fsize,font); y+=space; }
if(Signal4!="") { CreateLabel(tag+"4", Signal4, colR,0,y,false,fsize,font); y+=space; }
if(Signal5!="") { CreateLabel(tag+"5", Signal5, colR,0,y,false,fsize,font); y+=space; }
if(Signal6!="") { CreateLabel(tag+"6", Signal6, colR,0,y,false,fsize,font); y+=space; }
if(Signal7!="") { CreateLabel(tag+"7", Signal7, colR,0,y,false,fsize,font); y+=space; }
if(Signal8!="") { CreateLabel(tag+"8", Signal8, colR,0,y,false,fsize,font); y+=space; }
if(Signal9!="") { CreateLabel(tag+"9", Signal9, colR,0,y,false,fsize,font); y+=space; }
if(Signal10!=""){ CreateLabel(tag+"10",Signal10,colR,0,y,false,fsize,font); }
}

void CreateLabel (string name, string text, color col, int corner, int y, bool back=false, int fontsize=12, string fontname="MS Sans Serif")
{
if(ObjectFind(0,name)<0)
{
ObjectCreate (0,name,OBJ_LABEL,WindowOnDropped(),0,0);
ObjectSetInteger(0,name,OBJPROP_BACK, back);
ObjectSetInteger(0,name,OBJPROP_CORNER, corner);
ObjectSetInteger(0,name,OBJPROP_COLOR, col);
}
ObjectSetString (0,name,OBJPROP_TEXT, text);
ObjectSetString (0,name,OBJPROP_FONT, fontname);
ObjectSetInteger(0,name,OBJPROP_FONTSIZE, fontsize);
ObjectSetInteger(0,name,OBJPROP_XDISTANCE,x);
ObjectSetInteger(0,name,OBJPROP_YDISTANCE,y);
}
 
 
  • Post #904
  • Quote
  • Mar 2, 2015 3:26pm Mar 2, 2015 3:26pm
  •  Gumrai
  • Joined Oct 2012 | Status: Member | 1,959 Posts
Quoting zackery
Disliked
@gumrai: Thanks for that.But due to the fact that I am not a Coder I don't know where to add the //input int NotUsed=0; in the Code of the Indicator. Could you please give me a hint? Regards Zack
Ignored
Well, you can see the list of inputs, so just add at at the end, on a new line after input int fsize = 14; // Font size
Please Do Not PM Me With Coding Enquiries
 
 
  • Post #905
  • Quote
  • Mar 2, 2015 3:40pm Mar 2, 2015 3:40pm
  •  Gumrai
  • Joined Oct 2012 | Status: Member | 1,959 Posts
Quoting 5h3r42
Disliked
Hi All, Can someone tell me how to get the vertical price indicator line back on to the chart. It has gone missing. Any help will be appreciated. {image}
Ignored
Press F8
or
Right click on your chart and select properties
In the color tab, set Grid to a color that stands out against the background color
Please Do Not PM Me With Coding Enquiries
 
 
  • Post #906
  • Quote
  • Mar 2, 2015 5:06pm Mar 2, 2015 5:06pm
  •  zackery
  • Joined Nov 2011 | Status: Member | 701 Posts
Quoting Gumrai
Disliked
{quote} Well, you can see the list of inputs, so just add at at the end, on a new line after input int fsize = 14; // Font size
Ignored
Perfect.Thanks a lot.Zack
 
 
  • Post #907
  • Quote
  • Mar 3, 2015 2:18am Mar 3, 2015 2:18am
  •  Dave1
  • | Joined Apr 2006 | Status: Member | 115 Posts
Is there a quicker way of applying a chart template to several charts than having to keep going into the charts tab then template for every chart?
 
 
  • Post #908
  • Quote
  • Mar 3, 2015 2:52am Mar 3, 2015 2:52am
  •  Michael PB
  • | Joined Jul 2011 | Status: Member | 22 Posts
Quoting Dave1
Disliked
Is there a quicker way of applying a chart template to several charts than having to keep going into the charts tab then template for every chart?
Ignored
Try "Copy template to all charts.mq4" on the SHW-Forum
Attached File
File Type: mq4 Copy template to all charts script.mq4   1 KB | 305 downloads
 
 
  • Post #909
  • Quote
  • Mar 31, 2015 4:27am Mar 31, 2015 4:27am
  •  luvene
  • Joined Sep 2013 | Status: Member | 351 Posts
Hi, I have a very strange problem. I am using two Monitors. As you can see in the image the Terminal is totally up to the ceiling and I can't move it Please, can you help me with it.
Attached Image (click to enlarge)
Click to Enlarge

Name: Terminal_problem.png
Size: 69 KB
Keep it simple without too many crappy indicators!
 
 
  • Post #910
  • Quote
  • May 20, 2015 5:15am May 20, 2015 5:15am
  •  Dainesi
  • | Joined Mar 2009 | Status: Member | 2 Posts
Quoting luvene
Disliked
Hi, I have a very strange problem. I am using two Monitors. As you can see in the image the Terminal is totally up to the ceiling and I can't move it Please, can you help me with it. {image}
Ignored
To solve your problem try this: in the desktop right click and select "Screen resolution", then move the second screen upward until enough to show the subwindow caption and so drag it where you want.
 
 
  • Post #911
  • Quote
  • Jul 21, 2015 11:14pm Jul 21, 2015 11:14pm
  •  JumpJack
  • | Joined Mar 2010 | Status: Member | 136 Posts
HELP.
When you load the MT4 terminal you get the stuff on the left - Market Watch -Navigator box, etc. Then you load a bunch of charts of which the charts are also shown in little boxes below the charts, in a line next to favorites in the Navigator box. Leaving the MW and N boxes in view, it appears the limit for the little pair boxes is about 15. Therefore if you want to view more, you must scroll with the little arrows to the far right.
HELP!! Does anyone know how to show more than the 15 pairs without having to scroll right??? And dont say go to full screen - that eliminated MW and N.
thnx JJ
 
 
  • Post #912
  • Quote
  • Aug 5, 2015 11:37am Aug 5, 2015 11:37am
  •  speedytina
  • | Joined Mar 2011 | Status: Trader wannabe... | 50 Posts
Hello;

Please see https://www.mql5.com/en/charts/37760...nvestments-inc for reference.

Can anyone tell me if there is any way to access charts directly from the "Terminal" window? It would be nice to be able to simply click on any line on the terminal window and have a chart for that line come up without having to scroll through the chart windows. This should apply to both the "Trade" and "Account History" windows. Any help appreciated.

Regards,
speedytina
Cluttered charts are visual diarrhea. Whats on your charts?
 
 
  • Post #913
  • Quote
  • Aug 5, 2015 2:04pm Aug 5, 2015 2:04pm
  •  hanover
  • Joined Sep 2006 | Status: ... | 8,081 Posts
Quoting speedytina
Disliked
It would be nice to be able to simply click on any line on the terminal window and have a chart for that line come up without having to scroll through the chart windows. This should apply to both the "Trade" and "Account History" windows.
Ignored
Position the mouse cursor over the line, hold the left button down and drag it onto the chart.
 
 
  • Post #914
  • Quote
  • Aug 5, 2015 2:13pm Aug 5, 2015 2:13pm
  •  speedytina
  • | Joined Mar 2011 | Status: Trader wannabe... | 50 Posts
Quoting hanover
Disliked
{quote} Position the mouse cursor over the line, hold the left button down and drag it onto the chart.
Ignored
Hanover. Thank you, thank you, thank you!

This makes my life (and trading) so much easier.

I see your posts all over the place. You are fantastic.

Regards,
speedytina
Cluttered charts are visual diarrhea. Whats on your charts?
 
 
  • Post #915
  • Quote
  • Aug 5, 2015 7:29pm Aug 5, 2015 7:29pm
  •  Armin2Forex
  • | Joined Jun 2013 | Status: Member | 44 Posts
Hi

Can anyone tell me how to get a 2hr timeframe on MT4 platform?

Regards
 
 
  • Post #916
  • Quote
  • Aug 5, 2015 8:37pm Aug 5, 2015 8:37pm
  •  hanover
  • Joined Sep 2006 | Status: ... | 8,081 Posts
Quoting Armin2Forex
Disliked
Hi Can anyone tell me how to get a 2hr timeframe on MT4 platform? Regards
Ignored
As far as I know:
2hr candles are not native to MT4, hence you must use synthetically created candles. This is the best solution that I'm aware of, but looks like it's been modified extensively since I used it many years ago.

Or if you're happier with a less comprehensive solution -- that doesn't necessitate creating offline charts -- then try something like Custom Candle.
 
 
  • Post #917
  • Quote
  • Aug 5, 2015 9:38pm Aug 5, 2015 9:38pm
  •  Armin2Forex
  • | Joined Jun 2013 | Status: Member | 44 Posts
Thanks will give a go cheers!
 
 
  • Post #918
  • Quote
  • Aug 31, 2015 10:36pm Aug 31, 2015 10:36pm
  •  jumpstart
  • | Joined May 2012 | Status: Member | 22 Posts
Hi hanover,

I stumbled into this thread while looking for a solution to an idea. I want to chart two different time frame MACD for the same currency pair. the pairs must both fit inside the sub-window and also both have the same zero line.

The problem is you run out of buffers if you want, as I do, MACD, Signal line, and the histo (above zero rising above zero falling, below zero falling, below zero rising) all in different colors. Twelve buffers are required for two MACD.

It seems the quality of posters here could provide some direction.

One option is to do two MACD inside one indicator and use a multiplier based on the ratio of Periods() to change the averaging constants in the second MACD. But then I loose some coloring.

The other more difficult way is to use chart siz ing and sub-windows to rejig and scale the y-axis, which would do the job but seems....challenging.
Any direction to where this has been tackled before?

Thanks in advance.
 
 
  • Post #919
  • Quote
  • Sep 1, 2015 2:29am Sep 1, 2015 2:29am
  •  hanover
  • Joined Sep 2006 | Status: ... | 8,081 Posts
Quoting jumpstart
Disliked
Hi hanover, I stumbled into this thread while looking for a solution to an idea. I want to chart two different time frame MACD for the same currency pair. the pairs must both fit inside the sub-window and also both have the same zero line. .......
Ignored
Assuming I understand you correctly (for example, you say "for the same currency pair" and then "the pairs"):

If it was absolutely essential to have both MACDs in the same sub-window, I would use 2 indicators (or 2 instances of a multi-TF MACD indicator) with 6 buffers each, and (if necessary) adjust the vertical scaling. However, no matter how you do it, the 2 histograms will overlap, obscuring each other and also causing a color problem. Hence I believe it would be better to have the 2 MACDs plot in separate sub-windows.
 
 
  • Post #920
  • Quote
  • Sep 1, 2015 2:32am Sep 1, 2015 2:32am
  •  Bicarus
  • Joined Nov 2014 | Status: Yoda | 942 Posts
is there a way for me to make one click trading into a macro for my mouse/keyboard?
 
 
  • Platform Tech
  • /
  • MT4 navigational tips and techniques
  • Reply to Thread
    • 1 4445Page 464748 56
    • 1 45Page 4647 56
0 traders viewing now
  • More
Top of Page
Forex Factory Blog Updated: Alerting All Members
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2022