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

Options

Search
Search
Search

Bookmark Thread

First Page First Unread Last Page Last Post

Printable Version

Similar Threads

Fixing Your Indicators or EAs (Free) 344 replies

Coding robots and indicators in C# for no charge (cTrader API) 144 replies

EAs and indicators relating to moutaki... 22 replies

InterbankFX has loaded its MT4 platform with custom EAs, indicators and scripts 1 reply

Oanda MT4 - Indicators and EAs not showing 0 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 20,763
Attachments: I will code your EAs and Indicators for no charge
Exit Attachments

I will code your EAs and Indicators for no charge

  • Last Post
  •  
  • 1 627628Page 629630631 1585
  • 1 Page 629 1585
  •  
  • Post #12,561
  • Quote
  • Mar 28, 2016 4:56am Mar 28, 2016 4:56am
  •  jobloggs
  • | Joined Mar 2016 | Status: Member | 26 Posts
Hi Andi
Is there anyway that you could code this so it would work as MT4 Indicator like a Moving Average Crossover Alert ? So when the blue line crosses over the red line and viser versa the red line crosses over the blue line that there is a sound alert and a up or down arrow shows as a signal.
Attached File
File Type: ex4 100pips Momentum.ex4   3 KB | 182 downloads
  • Post #12,562
  • Quote
  • Mar 28, 2016 5:00am Mar 28, 2016 5:00am
  •  Gumrai
  • Joined Oct 2012 | Status: Member | 1,959 Posts
Quoting bah12ram
Disliked
{quote} thanks cyber1. Please note that I am in the right Folder I have compiled my test.mq4 and saved it in "C:\Program Files\MetaTrader 4\MQL4\Scripts" and restarted MT4 Plattform but test.ex4 is not generated in Script folder. I appriciate your efforts. {image}
Ignored
It may be that the "test" that you are compiling is not the "test" in the script file. If you hover your mouse pointer over the file name near the top of the compiler window, the filepath should pop up next to the pointer.
Please Do Not PM Me With Coding Enquiries
  • Post #12,563
  • Quote
  • Mar 28, 2016 6:02am Mar 28, 2016 6:02am
  •  bah12ram
  • | Joined Jan 2016 | Status: Member | 28 Posts
Quoting Gumrai
Disliked
{quote} It may be that the "test" that you are compiling is not the "test" in the script file. If you hover your mouse pointer over the file name near the top of the compiler window, the filepath should pop up next to the pointer.
Ignored
thanks Gumrai.
that was not.
can someone modify and compile the attached File turn it into test.ex4 file and send it to me back?
Attached Image (click to enlarge)
Click to Enlarge

Name: Clipboard01.jpg
Size: 118 KB
Attached File
File Type: mq4 test.mq4   1 KB | 115 downloads
  • Post #12,564
  • Quote
  • Mar 28, 2016 7:08am Mar 28, 2016 7:08am
  •  Gumrai
  • Joined Oct 2012 | Status: Member | 1,959 Posts
Quoting bah12ram
Disliked
{quote} thanks Gumrai. that was not. can someone modify and compile the attached File turn it into test.ex4 file and send it to me back? {image} {file}
Ignored
That code does not compile, that is why you don't have the ex4 created
Change
Inserted Code
  if(handle<0) return(0);
to
Inserted Code
  if(handle<0) return;
and compile
Please Do Not PM Me With Coding Enquiries
  • Post #12,565
  • Quote
  • Mar 28, 2016 9:47am Mar 28, 2016 9:47am
  •  andoseg2
  • Joined Jun 2011 | Status: Member | 1,908 Posts
Greetings,

Can I ask about a little indicator modification ?Is a period separator that display 1m,5m,15m ... W timeframes. It is similar to period separator standard timeframe from MT4 : http://prntscr.com/al3g3h

The atached indicator do not display same Menu timeframes , would be great if somebody will integrate same Menu Selection and also the custom timeframes 6m, 4m, 7m and so on.

Thank you very much.

Attached File
File Type: mq4 q-Period_Line.mq4   2 KB | 221 downloads
Money moves the market, not an indicator.
  • Post #12,566
  • Quote
  • Mar 28, 2016 10:13am Mar 28, 2016 10:13am
  •  Mtinifx
  • Joined Feb 2011 | Status: Going ape! | 4,776 Posts
Quoting cyber1
Disliked
{quote} jmtini- The MaxTrade input controls numbers of trades open. If that does not work and you can't get the mq4 file from CJ then I would rather re-code the EA from scratch.
Ignored

OK - yes if one sets the max trade input to more then "1" it opens multiple trades at the same time. If set to "1" it will not open another trade until that trade closes (reaches TP level) even though the price might hit the EMA again.

Just wondered, isn't this the culprit? : if(CountLongs()+CountShorts()<MaxTrade - should it be equal to max trade?

The nice thing about having the .mq4 file is that one can save different versions of the EA set up to immediately operate on different EMA's

Anyway if you can re-code it, thanks - if not don't worry
  • Post #12,567
  • Quote
  • Mar 28, 2016 10:15am Mar 28, 2016 10:15am
  •  Thruline
  • | Joined Nov 2005 | Status: Member | 185 Posts
Quoting stevenfx
Disliked
Hi, any one know where can find a trailling stop ea can trailing by previous candle high or low ? ( use it for renko bar ) Thank you .
Ignored
I would be interested in a TS like this, too, with the ability to set the number of bars to trail.
  • Post #12,568
  • Quote
  • Mar 28, 2016 2:21pm Mar 28, 2016 2:21pm
  •  bah12ram
  • | Joined Jan 2016 | Status: Member | 28 Posts
Quoting Gumrai
Disliked
{quote} That code does not compile, that is why you don't have the ex4 created Change if(handle<0) return(0); to if(handle<0) return; and compile
Ignored
thanks a lot. that was it.
I have another Problem if I run the script it writes "trading pool Orders" in OrdersReportm.csv but after some Times it overwrites OrdersReportm.csv with "history pool Orders" . I wonder Why? I must remove it from "C:\Program Files\MetaTrader 4\MQL4\Files" to another Folder to save my "trading pool Orders".
  • Post #12,569
  • Quote
  • Mar 28, 2016 4:26pm Mar 28, 2016 4:26pm
  •  kevinpeng
  • | Joined Mar 2016 | Status: Junior Member | 1 Post
Greetings. Could someone please code a simple EA for me. Thanks.
1. Place a long pending order a few pips above the HIGH of previous bar.Place stop loss at the LOW of previous bar. Take profit at the Low of previous bar
2. Place a short pending order a few pips below the LOW of previous bar. Place stop loss at the HIGH of previous bar.Take profit at the high of previous bar
  • Post #12,570
  • Quote
  • Mar 28, 2016 5:47pm Mar 28, 2016 5:47pm
  •  Gumrai
  • Joined Oct 2012 | Status: Member | 1,959 Posts
Quoting bah12ram
Disliked
{quote} thanks a lot. that was it. I have another Problem if I run the script it writes "trading pool Orders" in OrdersReportm.csv but after some Times it overwrites OrdersReportm.csv with "history pool Orders" . I wonder Why? I must remove it from "C:\Program Files\MetaTrader 4\MQL4\Files" to another Folder to save my "trading pool Orders".
Ignored
That script cannot write History pool details, another script or expert must be over-writing the file.
Maybe change
Inserted Code
int handle=FileOpen("OrdersReport.csv",FILE_WRITE|FILE_CSV,"\t");
to
Inserted Code
int handle=FileOpen("OpenOrdersReport.csv",FILE_WRITE|FILE_CSV,"\t");
or some other file name
Please Do Not PM Me With Coding Enquiries
  • Post #12,571
  • Quote
  • Mar 28, 2016 6:52pm Mar 28, 2016 6:52pm
  •  Idris.Brazil
  • Joined Mar 2015 | Status: Member | 253 Posts
Quoting cyber1
Disliked
{quote} Idrris- Try this. {file}
Ignored
Hi CYBER1,

Please modify message of the text alert to: ADX gained strengh....(when it becomes Lime) and ADX lost strenght.... (when it becomes Green)

Reason: ADX indi purposes is only tell us if "momentum" is strong ou week. In order to see direction we have to look to other ind-ies. (in this case Stoch).

Please find attached a screen so that you can understand my explanation under visual mode.

Many thanks!
Attached Image (click to enlarge)
Click to Enlarge

Name: Adx_H4.png
Size: 97 KB
  • Post #12,572
  • Quote
  • Edited at 3:45am Mar 29, 2016 3:27am | Edited at 3:45am
  •  ramzam
  • Joined Nov 2015 | Status: Member | 2,760 Posts
hi any one have this type of indicator.. normally one have zigzag and fibo for the last swing.. but the same fibo for previous swing and expansion for that last 2 legs...

i could not able to attach screen shot .. dont know why
Attachment 1890795
Success is a Journey Not a Destination....... kind regards ramzam
  • Post #12,573
  • Quote
  • Mar 29, 2016 3:44am Mar 29, 2016 3:44am
  •  ramzam
  • Joined Nov 2015 | Status: Member | 2,760 Posts
hi any one have this type of indicator.. normally one have zigzag and fibo for the last swing.. but the same fibo for previous swing and expansion for that last 2 legs...

in this pic i have static and dynamic fibo... and only expansion is missing
Success is a Journey Not a Destination....... kind regards ramzam
  • Post #12,574
  • Quote
  • Mar 29, 2016 7:25am Mar 29, 2016 7:25am
  •  jobloggs
  • | Joined Mar 2016 | Status: Member | 26 Posts

Can anyone please add a sound Alert to this Indicator ?


Hi is anyone able to add a sound Alert to this Indicator ? So that it will give an alert/push when the arrow hasn't repainted for the last 6 bars? After the arrow has appeared.The alert should show up at the beginning of the 6th candle.
Attached File
File Type: ex4 supersignals.ex4   8 KB | 192 downloads
  • Post #12,575
  • Quote
  • Edited at 10:15am Mar 29, 2016 7:59am | Edited at 10:15am
  •  seraphim
  • | Joined Oct 2015 | Status: Junior Member | 2 Posts
Help please on something I am not able to work out. I think there must be a simple solution which I cannot see.

The below indi code loop was originally calculated using a MACD (commented out) and I wanted to use 2 MAs instead. If the MAFast > MASlow then the result needs to be 1 or 0 if MASlow > MAFast for the binary converter to function. I think it worked with the MACD values because they are always around 0.000xxx but the MA values are correlated with price i.e. 1.xxxxx

Many thanks for your help!

string CreateBinaryMACD()
{
string result = "";
int TFrame, i;
//double MD, MDSig
double MAFast, MASlow;
int BarShift = 0;
if (BarClose) BarShift = 1;
for(i = 1; i <= 6; i++) //Loop through the 5 time frames
{
switch(i)
{
case 1: TFrame = PERIOD_M5; break;
case 2: TFrame = PERIOD_M15; break;
case 3: TFrame = PERIOD_M30; break;
case 4: TFrame = PERIOD_H1; break;
case 5: TFrame = PERIOD_H4; break;
case 6: TFrame = PERIOD_D1; break;
}
// MD=iMACD(NULL,TFrame,MACD_Fast,MACD_Slow,MACD_Signal,MACD_Price,MODE_MAIN,BarShift);
//MDSig=iMACD(NULL,TFrame,MACD_Fast,MACD_Slow,MACD_Signal,MACD_Price,MODE_SIGNAL,BarShift);

MAFast=iMA(NULL,0,34,0,MODE_LWMA,PRICE_OPEN,i);
MASlow=iMA(NULL,0,60,0,MODE_LWMA,PRICE_OPEN,i);

//if(MD>=MDSig) result=result+"1"; //Green
//else result=result+"0"; //Red

if (MAFast>=MASlow) result = result + "1"; //Green
else result = result + "0"; //Red
}
return(result);
}
int BinaryConverter(string BMD)
{
int i, result;
int R1, R2, R3, R4, R5, R6;


if (BMD == "000000") result = 0;
else if (BMD == "111111") result = 63;
else
{
for(i = 1; i <= 6; i++) //Loop through the 6 Numbers that make up the Binary
{
switch(i)
{
case 1: R1 = StrToInteger(StringSubstr(BMD,0,1)); break;
case 2: R2 = StrToInteger(StringSubstr(BMD,1,1))*2; break;
case 3: R3 = StrToInteger(StringSubstr(BMD,2,1))*4; break;
case 4: R4 = StrToInteger(StringSubstr(BMD,3,1))*8; break;
case 5: R5 = StrToInteger(StringSubstr(BMD,4,1))*16; break;
case 6: R6 = StrToInteger(StringSubstr(BMD,5,1))*32; break;
}
}
result = R1+R2+R3+R4+R5+R6;
}
return(result);
  • Post #12,576
  • Quote
  • Mar 29, 2016 9:49am Mar 29, 2016 9:49am
  •  Karpa
  • Joined Mar 2014 | Status: swimming with floaters and snorkels | 1,157 Posts
Quoting Squiggles
Disliked
Could someone please help me edit the code to remove the whole number lines ( shown here in white ) I only want the shades, the lines hides the price line and makes a mess of other chart indicators. thank you {file} {image}
Ignored
Hey Squiggles,
I commented the code that did the horizontal lines, maintained the original file name
Please check the attached file
Attached File
File Type: mq4 luktom round levels custom..mq4   3 KB | 165 downloads
  • Post #12,577
  • Quote
  • Mar 29, 2016 10:24am Mar 29, 2016 10:24am
  •  yan7181
  • | Joined Aug 2009 | Status: Member | 131 Posts
is it possible to make the alert only when the candle close? the current alerts keeps alerting even the candle is not closed.
Thanks in advanced.
Attached File
File Type: mq4 japan candlestic.mq4   17 KB | 175 downloads
  • Post #12,578
  • Quote
  • Mar 29, 2016 11:06am Mar 29, 2016 11:06am
  •  Squiggles
  • Joined Nov 2014 | Status: Member | 1,589 Posts
Quoting Karpa
Disliked
{quote} Hey Squiggles, I commented the code that did the horizontal lines, maintained the original file name Please check the attached file {file}
Ignored
Bravo Sir . Thank you very much indeed , excellent job, just as i wanted it
  • Post #12,579
  • Quote
  • Mar 29, 2016 12:31pm Mar 29, 2016 12:31pm
  •  Karpa
  • Joined Mar 2014 | Status: swimming with floaters and snorkels | 1,157 Posts
Quoting Squiggles
Disliked
{quote} Bravo Sir . Thank you very much indeed , excellent job, just as i wanted it
Ignored
wow thanks Sir
  • Post #12,580
  • Quote
  • Mar 29, 2016 12:49pm Mar 29, 2016 12:49pm
  •  JosephXiX
  • | Additional Username | Joined Mar 2016 | 33 Posts
Dear FF friends,

Would someone please consider coding this for me?!

Script/indicator that plots each trade on the chart with the results at the close, as per attachment. (Graphic was created with PS and not an actual indicator)

Hopefully with the options to change the colors of the rectangular box, plotted line, trade result, and the option to show trade result in either pips or dollars amount.

Thank you.

Joseph
Attached Image
Thread Tools Search this Thread
Show Printable Version Show Printable Version
Email This Thread Email This Thread
Search this Thread:

Advanced Search

  • Platform Tech
  • /
  • I will code your EAs and Indicators for no charge
  • Reply to Thread
    • 1 627628Page 629630631 1585
    • 1 Page 629 1585
29 traders viewing now, 10 are members:
4xtrader41
,
Invisible
,
MarloBlued
,
Invisible
,
sark
,
Invisible
,
DrDave
,
Luvisfx
,
Invisible
,
kvak
  • 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 / ©2019