Download Currency Chart indicators

currencyWe are amazed that this indicator have worked properly with MT4 (Metatrader 4) and Metatrader 5 system soon after testing it. And more probably, it would also operate along with some other MT versions. If ever you are settled to make use of this CurrencyChart and see this indicator for Forex advantageous, we’ll be happy if you could rate the indicator and as well feel free to throw in some of your feedbacks or ideas, just post it in the comment area. Additionally, you can assist other currency traders to try such indicators with your remarks, ratings, and testimonials. We, the Forex currency traders are constantly searching for much better indicators for a more correct trade. And we are hoping that you will be helped by this CurrencyChart indicator in locating an even more accurate trade or even having better choices for trade and also generate greater earnings. We aim to locate all the finest Forex indicators like CurrencyChart. When we find one, we will upload them right away to our site for individuals to have access on its free download and have greater traders.

[php]</pre>
//+——————————————————————+
//| CurrencyChart.mq4 |
//| Strator |
//| [email protected] |
//+——————————————————————+
#property copyright “Strator”
#property link “[email protected]
//—-
#property indicator_separate_window
#property indicator_buffers 1
#property indicator_color1 Green
//—- input parameters
extern string symbol = “EURUSD”;
//—- buffers
double buffer_close[];
//—- variables
bool exit = false;
//+——————————————————————+
//| دهًهâîن ًٌٍîêè â âهًُيèé ًهمèًٌٍ |
//+——————————————————————+
string StringUCase(string str)
{
for(int i = 0; i < StringLen(str); i++)
{
int char = StringGetChar(str, i);
if((char >= 97 && char <= 122) || (char >= 224 && char <= 255))
char = char – 32;
str = StringSetChar(str, i, char);
}
return(str);
}
//+——————————————————————+
//| Custom indicator initialization function |
//+——————————————————————+
int init()
{
symbol = StringUCase(symbol);
MarketInfo(symbol, MODE_TIME);
int last_error = GetLastError();
if(last_error == 4106) //ERR_UNKNOWN_SYMBOL
{
string msg = “حهèçâهٌٍيûé ٌèىâîë:” + symbol;
IndicatorShortName(msg);
Print(msg);
exit = true;
}
else
{
IndicatorShortName(symbol + “,M” + Period());
SetIndexBuffer(0, buffer_close);
SetIndexStyle(0, DRAW_LINE);
IndicatorDigits(MarketInfo(symbol, MODE_DIGITS));
}
return(0);
}
//+——————————————————————+
//| Custom indicator deinitialization function |
//+——————————————————————+
int deinit()
{
return(0);
}
//+——————————————————————+
//| Custom indicator iteration function |
//+——————————————————————+
int start()
{
if(exit)
return(0);
int counted_bars = Bars – IndicatorCounted() – 1;
for(int i = 0; i < counted_bars; i++)
{
datetime time_bar = Time[i];
int bar_no = iBarShift(symbol, Period(), time_bar, false);
buffer_close[i] = iClose(symbol, Period(), bar_no);
}
SetLevelStyle(DRAW_LINE, 1, DarkGray);
SetLevelValue(0, MarketInfo(symbol, MODE_BID));
return(0);
}
//+——————————————————————+
<pre>[/php]

[/php]

Click Here to Download

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *