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

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

I will code your EAs and Indicators for no charge 53,634 replies

Sharing our Best EAs and Indicators Free of Cost 13 replies

EAs and indicators relating to moutaki... 22 replies

Need help programming some indicators/EAs 66 replies

Do You Buy EAs or Indicators from ebay? 59 replies

  • Commercial Content
  • /
  • Reply to Thread
  • Subscribe
  • 433
Attachments: Fixing Your Indicators or EAs (Free)
Exit Attachments

Fixing Your Indicators or EAs (Free)

  • Last Post
  •  
  • 1 1213Page 141516 24
  • 1 13Page 1415 24
  •  
  • Post #261
  • Quote
  • Edited at 11:34am Feb 4, 2019 10:48am | Edited at 11:34am
  •  jesxrussel
  • Joined Nov 2017 | Status: Member | 290 Posts
Quoting mntiwana
Disliked
{quote} What do you means,you have not explain any thing,keep things/issue clear enough for to save your and others time,at least do your part of work {image}
Ignored
im so sorry sir, here the details for the multi MA..


Multi Moving Average Spec(Parameters):
1.) Period=6, MA Method=Exponential, Apply to=Close, Colour Custom Code=(0,30,0)
2.) Period=8, MA Method=Exponential, Apply to=Close, Colour Custom Code=(0,45,0)
3.) Period=10, MA Method=Exponential, Apply to=Close, Colour Custom Code=(0,60,0)
4.) Period=12, MA Method=Exponential, Apply to=Close, Colour Custom Code=(0,75,0)
5.) Period=14, MA Method=Exponential, Apply to=Close, Colour Custom Code=(0,90,0)
6.) Period=15, MA Method=Exponential, Apply to=Median Price, Colour Custom Code=(234,199,0)
7.) Period=30, MA Method=Exponential, Apply to=Median Price, Colour Custom Code=(0,215,215)
8.) Period=4, MA Method=Exponential, Apply to=Weighted Close, Colour Custom Code=(196,17,53)
Know The Presence Of The Market
 
 
  • Post #262
  • Quote
  • Feb 4, 2019 4:45pm Feb 4, 2019 4:45pm
  •  IghoTree
  • | Joined Jan 2016 | Status: Member | 6 Posts
Hi,
Base on your heading on ff, please i have two indi i pick from ff and i really like them and i will like to modernize it by either turning it to EA or add alert to it so that i can get alert on my phone when some certain condition are meet.
kind regards Robert.
( [email protected])
 
 
  • Post #263
  • Quote
  • Edited at 4:28am Feb 5, 2019 4:10am | Edited at 4:28am
  •  Lazar83
  • Joined Jun 2010 | Status: Member | 446 Posts
Hello Guys, if someone can correct this Steve H ea i would be very grateful .

Ea works like this. On every new H1 candle it checks conditions on 4 time frames. Lets say its 12h.
Buy conditions
the 11h-12h H1 candle has to close as an up candle.
the 11.55-12h M5 candle has to close as an up candle.
the 11.45-12h M15 candle has to close as an up candle.
the 11.30 -12h M30 candle has to close as an up candle.
Sell conditions are opposite.

Ea has several filters i have checked only Ma 240. Ading ADX could improve profitability.

If conditions are correct ea creates buffer line x pips from previous 1h high or low, with expiration of x minutes. If price action doesn't move x pips in x minutes, ea considers trade canceled.
Sl is by default 2 pips below or above previous HH or LL and tp is 2x that range.


3 Errors needs to be corrected.
1. Sometimes Sl or tp are placed on increasingly high values,with error : invalid takeprofit for OrderSend function
2. OrderSend error 4107, happens when the price hits buffer pending line x pips from previous high or low, maybe adding pending order instead market order as addon could fix this.
3. Ea sometimes doesn't respect rules for entry where all conditions mention above are not align.

I have tested strategy manually on 28 pairs and it shows no brain potential, since its KISS.

If someone has time please assist.
Attached File
File Type: mq4 Pas.mq4   133 KB | 306 downloads
Help to be helped.
 
 
  • Post #264
  • Quote
  • Feb 5, 2019 3:23pm Feb 5, 2019 3:23pm
  •  Mary.Lawson
  • | Joined Oct 2016 | Status: Member | 10 Posts
Hi friends, I have this indicator called ASCTrend1i, I don't know about its functions.
All I need is an EA of this indicator.
I have ZERO knowledge about coding and programming so I really don't know that is it
possible or not.
This indicator generate arrows, Yellow arrow BUY signal and Pink arrow SELL signal.
All I want is that EA should be doing two things when each arrow appears:
1) It should open a BUY trade on Yellow arrow, and SELL trade on Pink arrow.
2) It should close any previous running trades.
That is If there is BUY trade running because previous arrow was Yellow then on Pink
arrow it should, 1) Close previous BUY trade, 2) It should open a new SELL trade.
I want it act like a loop, that means on Yellow arrow it should close previous SELL trade
and Open new BUY trade and on next Pink arrow it should close previous BUY trade and open
a Sell trade and so on.
And of course when I say "On Yellow or Pink arrow" it means next bar opening after arrow.
EA should work on all time frames of any currency pair.
Again I have ZERO knowledge about coding and programming so I am really sorry if I am asking something out of this world.
Thank you!!!
Attached Files
File Type: ex4 ASCTrend1i.ex4   12 KB | 226 downloads
File Type: mq4 ASCTrend1i.mq4   4 KB | 262 downloads
 
 
  • Post #265
  • Quote
  • Feb 5, 2019 6:52pm Feb 5, 2019 6:52pm
  •  mntiwana
  • Joined Mar 2013 | Status: Member | 2,272 Posts
Quoting Mary.Lawson
Disliked
Hi friends, I have this indicator called ASCTrend1i, I don't know about its functions. All I need is an EA of this indicator. I have ZERO knowledge about coding and programming so I really don't know that is it possible or not. This indicator generate arrows, Yellow arrow BUY signal and Pink arrow SELL signal. All I want is that EA should be doing two things when each arrow appears: 1) It should open a BUY trade on Yellow arrow, and SELL trade on Pink arrow. 2) It should close any previous running trades. That is If there is BUY trade running because...
Ignored
"ASC Trend EA"
Here is EA including the indicator used with (not your one)
ASC trend is based on WPR indicator originally
"ASCTrend"
Note : i have not tried EA,try experimenting by your self,no claim

Attached Image (click to enlarge)
Click to Enlarge

Name: EURUSDM5.png
Size: 21 KB


Attached Image (click to enlarge)
Click to Enlarge

Name: p.png
Size: 161 KB
Attached Files
File Type: ex4 ASC Trend EA.ex4   24 KB | 420 downloads
File Type: mq4 ASCTrend.mq4   3 KB | 445 downloads
File Type: ex4 ASCTrend.ex4   12 KB | 358 downloads
 
1
  • Post #266
  • Quote
  • Feb 11, 2019 12:27am Feb 11, 2019 12:27am
  •  bsargent
  • | Joined Aug 2012 | Status: Member | 8 Posts
Quoting MT5.Boy
Disliked
eg. {image}
Ignored
Try this one my friend..
Attached Files
File Type: ex4 H1Stop.ex4   9 KB | 212 downloads
File Type: mq4 H1Stop.mq4   4 KB | 252 downloads
 
 
  • Post #267
  • Quote
  • Feb 11, 2019 8:23am Feb 11, 2019 8:23am
  •  Sam016
  • | Joined Jul 2017 | Status: Member | 9 Posts
hello can you please take a look at the attached indicator ?
i am trying to make it so that it draw 2 horizontal lines at candle low and candle high (the hour is given as an input on which the lines are placed).
but its not working as i intend it to.
Attached File
File Type: mq4 Horizontal lines.mq4   2 KB | 190 downloads
 
 
  • Post #268
  • Quote
  • Feb 12, 2019 5:41am Feb 12, 2019 5:41am
  •  MT5.Boy
  • | Joined Jan 2019 | Status: Member | 19 Posts
Quoting bsargent
Disliked
{quote} Try this one my friend.. {file} {file}
Ignored
Thanks
But it doesn't work as I wish

How should this work?
 
 
  • Post #269
  • Quote
  • Feb 14, 2019 3:37am Feb 14, 2019 3:37am
  •  bsargent
  • | Joined Aug 2012 | Status: Member | 8 Posts
Quoting MT5.Boy
Disliked
{quote} Thanks But it doesn't work as I wish How should this work?
Ignored
Drag and drop EA onto the chart where you would like to activate a "stop on candle close". you can set the closing candles time frame in the inputs section.

One thing to note. If you set the line higher than the last close (in case of a long position) by mistake it will close instantly. So always make sure that the close you are choosing is lower or higher than the most recent close. Tripped myself up a few times with that silly mistake. Also we wary of closing MT4 and reopening it with EA attached and an open position. It can just close it out doing that. But it does work. Test it in demo and M1 chart to get a feel for it....

Cheers
 
 
  • Post #270
  • Quote
  • Edited at 8:53am Feb 14, 2019 6:32am | Edited at 8:53am
  •  MT5.Boy
  • | Joined Jan 2019 | Status: Member | 19 Posts
Quoting bsargent
Disliked
{quote} Drag and drop EA onto the chart where you would like to activate a "stop on candle close". you can set the closing candles time frame in the inputs section. One thing to note. If you set the line higher than the last close (in case of a long position) by mistake it will close instantly. So always make sure that the close you are choosing is lower or higher than the most recent close. Tripped myself up a few times with that silly mistake. Also we wary of closing MT4 and reopening it with EA attached and an open position. It can just close...
Ignored
Yes, I experienced by mistake it will close instantly.
Just I thought the EA was bad.
So, that makes sense.

I am very grateful for it

It's good for the beginning, but you need to pay attention to it.
I'm looking for another MT5, because I moved my trade there.
But if I find MT4 it is also good.I just need to find someone to converts MT4-MT5.

Thanks again

****
Meanwhile I tried a lot of H1Stop.ex4 , but unfortunately the operation is very annoying.

I found this
It would be good if you would not only signal it, but close it. Instead of touching, it ends with a closing value.

Can you help something in this?................someone?
Attached File
File Type: mq5 TrendlineCrossAlert.mq5   8 KB | 207 downloads
 
 
  • Post #271
  • Quote
  • Feb 14, 2019 6:34am Feb 14, 2019 6:34am
  •  muhanif1990
  • | Joined Dec 2015 | Status: Member | 14 Posts | Online Now
hi all,
i want who can input the parameter of the ea? i give file mql4, and just input time management refer on the picture...
Attached Image (click to enlarge)
Click to Enlarge

Name: input time management.png
Size: 43 KB
Attached File
File Type: mq4 Currency Strength.mq4   15 KB | 230 downloads
 
 
  • Post #272
  • Quote
  • Feb 18, 2019 3:17pm Feb 18, 2019 3:17pm
  •  libra_reserv
  • Joined Feb 2013 | Status: Member | 69 Posts
Any expert please to fix this simple indicator which only work in old version of mt4 but not in the latest built. It is very useful picture is attached, Obliged for any help. Thanks

Attached Image
Attached File
File Type: mq4 king.mq4   4 KB | 380 downloads
Watch market as a layman, Do have a opposit trade what ur mind suggest ;-)
 
 
  • Post #273
  • Quote
  • Feb 19, 2019 12:06am Feb 19, 2019 12:06am
  •  shonx
  • Joined Feb 2019 | Status: The system is always leaking, | 8 Posts
Dear sir

i need alert notification for this non gap volume indicator .when it appear different kind of colors pattern set .and also need to customize the color pattern from input properties .is it possible?.need at least 5 different pattern to notify by alert.thank you.

Attached Image

example- notify when this six bar appears
thank you
Attached File
File Type: ex4 Hidden Gap Volume Indicator V5[b].ex4   20 KB | 211 downloads
 
 
  • Post #274
  • Quote
  • Feb 19, 2019 7:13am Feb 19, 2019 7:13am
  •  mladen
  • Joined Apr 2007 | Status: ... | 782 Posts
Quoting libra_reserv
Disliked
Any expert please to fix this simple indicator which only work in old version of mt4 but not in the latest built. It is very useful picture is attached, Obliged for any help. Thanks {image}{file}
Ignored
That indicator never worked correctly - regardless of the build
 
1
  • Post #275
  • Quote
  • Feb 19, 2019 8:41am Feb 19, 2019 8:41am
  •  teodosy87
  • | Joined Jun 2008 | Status: Member | 453 Posts
Hello guys can you look at this if you have time to spare i will be appreciated. I have this basing indicator which i use a lot in my trading the problem is that the indicator makes calculation on the whole history on the chart and this is a problem i have it open on 12 charts with other indicators and this makes my metatrader 4 lag. Is there a way to make it make the calculations for a specific number of bars ? Thank you alot i will attach a picture of the indicator and the indicator itself, unfortunatelly i have only the ex4 version ..... thank you for your support and help ....
Attached Image (click to enlarge)
Click to Enlarge

Name: basing candle indocator.png
Size: 94 KB
Attached File
File Type: ex4 Basing-Candles-Indicator.ex4   13 KB | 180 downloads
 
 
  • Post #276
  • Quote
  • Feb 21, 2019 10:23am Feb 21, 2019 10:23am
  •  Jovager
  • | Joined May 2008 | Status: Member | 35 Posts
Where are you Mladen. I miss you.

On a daily graph, this indicator alert each day.
I want to alert only when the direction (color) changes.( I know, It repaint)
Thanks for help.

Jo
Attached File
File Type: mq4 CycleIdentifier.mq4   16 KB | 202 downloads
 
 
  • Post #277
  • Quote
  • Feb 21, 2019 11:14am Feb 21, 2019 11:14am
  •  mladen
  • Joined Apr 2007 | Status: ... | 782 Posts
Quoting Jovager
Disliked
Where are you Mladen. I miss you. On a daily graph, this indicator alert each day. I want to alert only when the direction (color) changes.( I know, It repaint) Thanks for help. Jo {file}
Ignored
Jo

Since you know my opinion of alerts on such indicators, you probably know the answer too : better not to use alerts for that indicator. It is highly dangerous to use "cycle identifier" (which even the "inventor" of it admitted to be a repainter) in any kind of "signaling" mode. And since the "this was made by mladen" seems to be happening even when I change just one single line of a code (it is not done by you, but see the stories with some other stuff), I really do not want to be associated with that indicator
 
1
  • Post #278
  • Quote
  • Feb 21, 2019 11:32am Feb 21, 2019 11:32am
  •  Jovager
  • | Joined May 2008 | Status: Member | 35 Posts
Sorry Mladen.
Thanks for answering.

Jo
 
 
  • Post #279
  • Quote
  • Feb 21, 2019 12:26pm Feb 21, 2019 12:26pm
  •  eevra
  • | Joined Oct 2015 | Status: Member | 53 Posts
Quoting libra_reserv
Disliked
Any expert please to fix this simple indicator which only work in old version of mt4 but not in the latest built. It is very useful picture is attached, Obliged for any help. Thanks {image}{file}
Ignored
Try this:

attached
Attached File
File Type: ex4 king.ex4   5 KB | 321 downloads
 
 
  • Post #280
  • Quote
  • Feb 21, 2019 11:25pm Feb 21, 2019 11:25pm
  •  tommbstone
  • | Joined Dec 2009 | Status: Member | 618 Posts
Can someone here explain the logic behind this scalper ea? It looks like it keeps buying or selling as price goes against it ever 10 (100) pips but what is the logic?


Yes It has lame security shit built in I know that but I'm asking if its worth keeping or getting refund. Thx
//+------------------------------------------------------------------+
//| ModifiedBSInd.mq4 |
//| Copyright 2015, Mark Fletcher |
//| https://trading.mark.fletcher.net |
//+------------------------------------------------------------------+
#property copyright "Copyright 2015, Mark Fletcher"
#property link "https://trading.mark.fletcher.net"
#property version "1.00"
#property strict
#property indicator_chart_window
#property indicator_buffers 2
#property indicator_plots 2
//--- plot SMA25
//--- plot BuySignal
#property indicator_label1 "BuySignal"
#property indicator_type1 DRAW_ARROW
#property indicator_color1 clrAqua
#property indicator_style1 STYLE_SOLID
#property indicator_width1 3
//--- plot SellSignal
#property indicator_label2 "SellSignal"
#property indicator_type2 DRAW_ARROW
#property indicator_color2 clrRed
#property indicator_style2 STYLE_SOLID
#property indicator_width2 3

#define SIGNAL_BULLISH 1
#define SIGNAL_BEARISH -1
#define SIGNAL_BULLISH_EXIT_ONLY 2
#define SIGNAL_BEARISH_EXIT_ONLY -2
#define SIGNAL_NO_SIGNAL 0


input int sizeLookBack = 10;
input int roomToLeft = 5;

double arrowup[];
double arrowdown[];
double minimumCandleSize = 0;
double onePip;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int OnInit()
{
//--- indicator buffers mapping
SetIndexBuffer(0,arrowup);
SetIndexBuffer(1,arrowdown);

IndicatorDigits(Digits);
//--- setting a code from the Wingdings charset as the property of PLOT_ARROW
// PlotIndexSetInteger(2,PLOT_ARROW,159);
// PlotIndexSetInteger(3,PLOT_ARROW,159);
SetIndexArrow(0,SYMBOL_ARROWUP);
SetIndexArrow(1,SYMBOL_ARROWDOWN);
SetIndexDrawBegin(0,sizeLookBack);
SetIndexDrawBegin(1,sizeLookBack);
onePip = pipsToPrice(1.0);

//---
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
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[])
{
//---
ArraySetAsSeries(close, true);
ArraySetAsSeries(open, true);
ArraySetAsSeries(high, true);
ArraySetAsSeries(low, true);

if (rates_total < sizeLookBack + 2)
{
return(0);
}

int limit = rates_total - prev_calculated;

if (limit > 0)
{

for (int i = limit - 1; i >= 0; i--)
{
if (i > rates_total - sizeLookBack - 2)
{
arrowdown[i] = EMPTY_VALUE;
arrowup[i] = EMPTY_VALUE;
continue;
}
int signal = readSignal(i, open, high, low, close);
if (signal == SIGNAL_BULLISH)
{
arrowup[i] = high[i] + 70.0 * Point;
arrowdown[i] = EMPTY_VALUE;
}
else if (signal == SIGNAL_BEARISH)
{
arrowup[i] = EMPTY_VALUE;
arrowdown[i] = low[i] - 70.0 * Point;
}
else
{
arrowup[i] = EMPTY_VALUE;
arrowdown[i] = EMPTY_VALUE;
}
}

}
//--- return value of prev_calculated for next call
return(rates_total);
}
//+------------------------------------------------------------------+

int readSignal(int i, const double &open[], const double &high[], const double &low[], const double &close[])
{
// TODO add filter on size of candle

// If high not higher than previous bar's high, or low not lower than previous bar's low, no signal
if (high[i] < high[i+1] || low[i] > low[i+1])
{
return(SIGNAL_NO_SIGNAL);
}

// filter for minimum candle size
if (minimumCandleSize > 0.0 && priceToPips(high[i] - low[i]) < minimumCandleSize)
{
return(SIGNAL_NO_SIGNAL);
}

// filter for size lookback
for (int j = i+2; j < i + sizeLookBack + 1; j++)
{
if (high[i] - low[i] < high[j] - low[j])
{
return(SIGNAL_NO_SIGNAL);
}
}

// If it is an up bar and close is not higher than previous bar's high, no signal
//if (close[1] > open[1] && close[1] < high[2])
//{
// return(SIGNAL_NO_SIGNAL);
// }

// If it is a down bar and close is not lower than previous bar's low, no signal
//if (close[1] < open[1] && close[1] > low[2])
//{
// return(SIGNAL_NO_SIGNAL);
// }

//If it is an up bar...
if (close[i] > open[i])
{
// and body didn't engulf body of previous candle, no signal
if (close[i] < open[i+1] - onePip || close[i] < close[i+1] - onePip || open[i] > open[i+1] + onePip || open[i] > close[i+1] + onePip)
{
//debug("No signal because body did not engulf");
return(SIGNAL_NO_SIGNAL);
}

// and there is no room to the left, no signal
if (roomToLeft > 0)
{
for (int j = i+1; j < i+roomToLeft + 1; j++)
{
if (low[j] < low[i])
{
return(SIGNAL_NO_SIGNAL);
}
}
}
// OK it was, so we have a signal. Whether it is an entry signal or an exit only signal, depends...
/*if ((open[1] - low[1]) / (high[1] - low[1]) > bSFraction)
{
debug("close was good but open not in bottom fraction so exit only signal");
return(SIGNAL_BULLISH_EXIT_ONLY);
}*/

// get to here we have a bona fide entry signal
return(SIGNAL_BULLISH);

}

// if it is a down bar...
if (close[i] < open[i])
{
// and close is not in top bSFraction, no signal
if (open[i] < open[i+1] - onePip || open[i] < close[i+1] - onePip || close[i] > close[i+1] + onePip || close[i] > open[i+1] + onePip)
{
return(SIGNAL_NO_SIGNAL);
}

// and there is no room to the left, no signal
if (roomToLeft > 0)
{
for (int j = i+1; j < i+roomToLeft + 1; j++)
{
if (high[j] > high[i])
{
return(SIGNAL_NO_SIGNAL);
}
}
}

// OK it was, so we have a signal. Whether it is an entry signal or an exit only signal, depends...
/*if ((high[1] - open[1]) / (high[1] - low[1]) > bSFraction)
{
return(SIGNAL_BEARISH_EXIT_ONLY);
}
*/
// get to here we have a bona fide entry signal
return(SIGNAL_BEARISH);
}
return(SIGNAL_NO_SIGNAL);
}

double priceToPips(double priceLevel)
{
double pps=0;

pps=priceLevel/(Point*10.0);

return(NormalizeDouble(pps, 1));
}

double pipsToPrice(double pps)
{
double priceLevel=0;

priceLevel=pps *(Point*10.0);
return(NormalizeDouble(priceLevel, Digits));
}
 
 
  • Commercial Content
  • /
  • Fixing Your Indicators or EAs (Free)
  • Reply to Thread
    • 1 1213Page 141516 24
    • 1 13Page 1415 24
0 traders viewing now
  • More
Top of Page
  • 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