-
Posts
212 -
Joined
-
Last visited
Reputation Activity
-
4xmeter got a reaction from YusuFX in Pipsmark V3 Indicator
8-) No :?:
//+------------------------------------------------------------------+
//| PipsMark.mq4 |
//| Ted Goulden |
//| |
// This indicator will mark the newest bar with an arrow if its high/Low
// exceeds the input MA by the input number of pips. There is also
// an alert feature that can be selected.
//
//
// Input Parameters:
//
// InputMAVal - the number of periods to be used by the MA calculation. - the number of periods to be used by the MA calculation.
// InputMAtype - the type of MA to be used for MA calculation.
// PipSignal - the arrow appears if this number of pips above/below the MA is exceeded.
// NoAlert - controls whether an audible alert is given.
//
// Modification History:
// Oct 26 09 - Ted Goulden, Initial Version
// Oct 28 09 - Ted Goulden, added comment string
// Feb 07 10 - flyer415 , can now select other MA inputs
//+------------------------------------------------------------------+
#property copyright "Ted Goulden"
#property link ""
#property indicator_chart_window
#include <stdlib.mqh>
//---- input parameters
extern int InputMAval=10;
extern int InputMAtype=1; // 0 for Simple, 1 for Exponential
extern int InputMAshift=0;
extern int InputMAprice=0;
extern int PipSignal=20;
extern bool NoAlert=true;
double pips, pf = 1., ff = 1.;
bool alertDone = false;
int barStart = 0;
string ArrowName1 = "", ArrowName2 = "";
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
pips = MarketInfo(Symbol(), MODE_TICKSIZE);
if (Digits < 4)
{
pf = (0.01/pips);
ff = (pips/0.001);
}
if (Digits > 3)
{
pf = (0.0001/pips);
ff = (pips/0.00001);
}
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
Comment ("");
ObjectDelete(ArrowName1);
ObjectDelete(ArrowName2);
//----
return(0);
}
void SetArrow(string ArrowName, datetime ArrowTime, double Price,
double ArrowCode, color ArrowColor, bool LimitArrow)
{
int err;
// Note, if ArrowName was already used, the object will be replaced by current arrow.
if (ObjectFind(ArrowName) != -1) ObjectDelete(ArrowName);
if(!ObjectCreate(ArrowName, OBJ_ARROW, 0, ArrowTime, Price))
{
err=GetLastError();
Print("error: can't create Arrow! code #",err," ",ErrorDescription(err));
return;
}
else
{
ObjectSet(ArrowName, OBJPROP_ARROWCODE, ArrowCode);
ObjectSet(ArrowName, OBJPROP_COLOR, ArrowColor);
ObjectSet(ArrowName, OBJPROP_WIDTH, 2);
ObjectsRedraw();
}
} // end function
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
int counted_bars=IndicatorCounted();
//----
if (barStart < Time[0]) //start of new bar
{
Comment ("");
if (ArrowName1 > "") ObjectDelete(ArrowName1);
if (ArrowName2 > "") ObjectDelete(ArrowName2);
barStart = Time[0];
alertDone = false;
}
if (InputMAval > 0) double maVal = iMA(NULL, 0, InputMAval, InputMAshift, InputMAtype, InputMAprice, 0);
ArrowName1 = TimeToStr(Time[0])+"lo"+Symbol();
ArrowName2 = TimeToStr(Time[0])+"hi"+Symbol();
double typicalPrice = (High[0] + Low[0] + Close[0])/3;
double diff1 = MathRound((typicalPrice - maVal)/Point);
double diff2 = MathRound((maVal - typicalPrice )/Point);
if (( diff1 > PipSignal*pf) || ( diff2 > PipSignal*pf))
{
if (diff2 > PipSignal*pf)
{
SetArrow(ArrowName1, Time[0], Low[0], 233, Purple, false);
if (!NoAlert && !alertDone) Alert(Symbol(), " Pips diff : ", NormalizeDouble(diff2, 0));
Comment (" Price is below ", InputMAval, " moving average");
alertDone = true;
}
if (diff1 > PipSignal*pf)
{
SetArrow(ArrowName2, Time[0], High[0] + 15*Point, 234,DodgerBlue, false);
if (!NoAlert && !alertDone) Alert(Symbol(), " Pips diff : ", NormalizeDouble(diff1, 0));
Comment (" Price is above ", InputMAval, " moving average");
alertDone = true;
}
}
else Comment ("");
//----
return(0);
}
//+------------------------------------------------------------------+
8-)
-
4xmeter reacted to hermes in Best arrow Scalping indicator
Those cheating charitable organizations!!! They keep the money and send only sheet to Africa but even the sheet will by sorted by government politicians, if valuable for them. Children get Flies and Mosquitoes. I know a president of health charity who has a $600,000 yearly income! He doesn't have to trade.
Charities = a scam business like Wall Street or federal reserve.
Hermes
-
4xmeter reacted to hermes in Who would not like a good indicator's set?
http://www.lhforexsignals.com/lhforexsig-dwn-toolb1.html
Download Laszlo Hun's Toolbox - good stuff!
Cheers Hermes
-
4xmeter got a reaction from Keithp in Trend Pullback System: Perhaps Best Entry Signals Ever! (share)
Diesel! I just received this file hoping it will help you,
http://www.4shared.com/document/-SArvSI8/nova-range-bar-manuscript.html
-
4xmeter got a reaction from Sesshoumaru in Triple Trend System
http://besttradinggift.net/
You have to sign in like I did. The system seems very good for a freebie. I just got it and I do not know if repaints. If does not repaint; then, I am wondering, how good is the one for sale? I am full. Therefore, not planning to purchase.
Hoping all is well!
Some, doesn't like executables then do not bother with it!
-
4xmeter got a reaction from 123fx in Triple Trend System
http://besttradinggift.net/
You have to sign in like I did. The system seems very good for a freebie. I just got it and I do not know if repaints. If does not repaint; then, I am wondering, how good is the one for sale? I am full. Therefore, not planning to purchase.
Hoping all is well!
Some, doesn't like executables then do not bother with it!
-
4xmeter got a reaction from hermes in 1000Pips Dashboard
http://www.4shared.com/file/TBI_q1Sm/1000pips_Dashboard.html -
4xmeter got a reaction from Hakim314 in An Interesting Free EA Builder
http://noprogra.com/
I do not know, if works or not. Hurry up. Maybe we are lucky!
-
4xmeter got a reaction from taipan in Forex.TSD advanced,elite indicator pack
No way Chandu! What a nightmare!
A waking up call; http://xxx.4shared.xxx/file/-yPrvIgt/RSX_Mod.html
-
4xmeter got a reaction from Alex-622 in Forex.TSD advanced,elite indicator pack
No way Chandu! What a nightmare!
A waking up call; http://xxx.4shared.xxx/file/-yPrvIgt/RSX_Mod.html
-
4xmeter got a reaction from vladv in 1000Pips Dashboard
My Main point of view on this indicator; by the way, the best of all meter out there (specially in accuracy beat the tsd gang meter and others not to mention its features.). I do not use it as elaborated as the creator does, he has even an EA for sell.
Which currency is the stronger? The answer define the trend against a weaker currency according to its correlation. At the beginning of the day is unreliable.
If fluctuates about two hours of opening day, then there is no trend. Fluctuates meaning, the weaker becomes the stronger and again and again. For me, this indicator only indicates where you should be trading. In one direction volatility. Entry and exit; use your system indicators. By the way, a range greater than 2 in the strength numbers is ok for me below that watch it. I believe 3 is to high as a level of strength measurement..
-
4xmeter got a reaction from vladv in 1000Pips Dashboard
http://www.4shared.com/file/TBI_q1Sm/1000pips_Dashboard.html -
4xmeter got a reaction from vinhlp in 1000Pips Dashboard
http://www.4shared.com/file/TBI_q1Sm/1000pips_Dashboard.html -
4xmeter got a reaction from indo37 in An Interesting Free EA Builder
http://noprogra.com/
I do not know, if works or not. Hurry up. Maybe we are lucky!
-
4xmeter got a reaction from drbastem in An Interesting Free EA Builder
http://noprogra.com/
I do not know, if works or not. Hurry up. Maybe we are lucky!
-
4xmeter got a reaction from value_ in Forex.TSD advanced,elite indicator pack
No way Chandu! What a nightmare!
A waking up call; http://xxx.4shared.xxx/file/-yPrvIgt/RSX_Mod.html
-
4xmeter got a reaction from Jay007 in An Interesting Free EA Builder
http://noprogra.com/
I do not know, if works or not. Hurry up. Maybe we are lucky!
-
4xmeter got a reaction from Yoda in An Interesting Free EA Builder
http://noprogra.com/
I do not know, if works or not. Hurry up. Maybe we are lucky!
-
4xmeter got a reaction from charrob in An Interesting Free EA Builder
http://noprogra.com/
I do not know, if works or not. Hurry up. Maybe we are lucky!
-
4xmeter reacted to ⭐ deadsoul in True Trendline Indicator
but the developers need motivation to make free indicators more useful and work like this one ...best regards
-
4xmeter got a reaction from ⭐ deadsoul in True Trendline Indicator
However, there is so many nice free indicators; why waste money on yours? I guess, answering my own question, there are those outhere that need to. By the way, when I say free; I am not refering to educated versions. But, Simply as nothing more as Free.
-
4xmeter got a reaction from hermes in [REQ] Currency Power Indicator
http://www.4shared.com/file/TBI_q1Sm/1000pips_Dashboard.html?
-
4xmeter reacted to xard777 in X Chart Trading System by Xard777
MERRY CHRISTMAS EVERYONE
AND A HAPPY NEW YEAR
TO ONE AND ALL
Xard777
-
4xmeter got a reaction from wadesworld in (read) WHAT IS A PERFECT INDICATOR?
hmm, I agree. So here is an indicator that goes 'nicely' with the repainting indicator price. This indicator never repaint.
#property copyright "SpanishOpenLine"
#property link "[email protected]"
#property indicator_chart_window
#property indicator_buffers 1
#property indicator_color1 Blue
double g_ibuf_76[];
extern int TimeZoneOfData = 0;
int init() {
SetIndexStyle(0, DRAW_LINE);
SetIndexBuffer(0, g_ibuf_76);
SetIndexLabel(0, "Open");
SetIndexEmptyValue(0, 0.0);
return (0);
}
int deinit() {
return (0);
}
int start() {
int li_0 = IndicatorCounted();
if (li_0 > 0) li_0--;
int li_4 = Bars - li_0;
DailyOpen(0, li_4);
return (0);
}
int DailyOpen(int ai_0, int ai_4) {
int li_8 = 3600 * TimeZoneOfData;
double ld_12 = 30.0 / Period();
bool li_20 = TRUE;
ai_4 = MathMin(Bars - 20.0 * ld_12 - 1.0, ai_4);
for (int li_24 = ai_4; li_24 >= ai_0; li_24--) {
g_ibuf_76[li_24] = 0;
if (li_20) {
if (TimeDay(Time[li_24] - li_8) != TimeDay(Time[li_24 + 1] - li_8)) {
g_ibuf_76[li_24] = Open[li_24];
g_ibuf_76[li_24 + 1] = 0;
} else g_ibuf_76[li_24] = g_ibuf_76[li_24 + 1];
}
}
return (0);
}
-
4xmeter got a reaction from KENG in ►Interesting to Read◄
http://www.forex-prediction.com/strategies/ultimate-trend-indicator-forex.php