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

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Free Coding request for EA breakdown level / trend line 0 replies

Free Coding: your systems 24 replies

Free Coding Request 2 replies

I Will Learn Coding in 1 Month - Give me the 80/20 of MT4 Coding 14 replies

Free Coding Request 0 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 364
Attachments: Free Coding request
Exit Attachments

Free Coding request

  • Last Post
  •  
  • 1 1112Page 131415 27
  • 1 12Page 1314 27
  •  
  • Post #241
  • Quote
  • Oct 21, 2016 4:24pm Oct 21, 2016 4:24pm
  •  lordgbengs
  • Joined Jan 2008 | Status: Member | 627 Posts
Quoting jtcaleb
Disliked
@Lordgbengs: I believe this is what you need. let me know if it helps. I ttached 2 very good pivot indicators. First Daily Pivot points actually shows you 3 pivot points, Daily, Weekly and Monthly. The other one shows Weekly, Monthly and yearly. Hopefully, they will do what you desire. Godspeed {file} {file}
Ignored
Thanks jtcaleb for this, please i will appreciate if i can get the mq4 files so that i can edit it to suit what i need.

Thank you
D labour of a fool wearieth him cos he doesn't know how to enta d city
  • Post #242
  • Quote
  • Oct 21, 2016 4:35pm Oct 21, 2016 4:35pm
  •  jtcaleb
  • | Joined Feb 2011 | Status: Member | 51 Posts
@Lordgbengs:

Unfortunately my friend, i do not have the MQ4 files for those pivot indicators. I've searched, but couldn't find any. They work very well for me though as they are now. Godspeed.
  • Post #243
  • Quote
  • Oct 25, 2016 2:09am Oct 25, 2016 2:09am
  •  haemdoc
  • | Joined Nov 2015 | Status: Member | 77 Posts
Dear Gorraf and others,
I am attaching a Price action EA that buys or sells when the 4H candle crosses 34 EMA. The EA works but does not have a sound strategy to stop opening more buy or sells when the price action has lost momentum. This means that even if i manually exit, it will open further trades eventually losing money. I am not sure what indicator should be used to decide when a new trade is not opened. I am looking for ideas to strengthen the entry and exits by modifying the EA.

Looking forward to hearing from you all.
Attached Files
File Type: ex4 Open Price Action EA.ex4   18 KB | 141 downloads
File Type: mq4 Open Price Action EA (1).mq4   5 KB | 152 downloads
  • Post #244
  • Quote
  • Oct 25, 2016 11:26am Oct 25, 2016 11:26am
  •  cityrohit
  • | Joined Apr 2015 | Status: Member | 53 Posts
hi goraff

i require your help the EA they made me for me , i had put the indicator as desired by the EA but when the indicator makes a crossover nothing happens neither buy or sell. it make make buy or sell when there are no crossover.

is this of the indicator or the EA.


could you help me

i will be putting this EA on my real money from 29th of oct

for us Diwali ( the festivals of lights bring happiness )
i wanted to start the forex in new way
plz help what i should do
Attached Images (click to enlarge)
Click to Enlarge

Name: ea ques 01.png
Size: 185 KB Click to Enlarge

Name: ea ques.png
Size: 187 KB Click to Enlarge

Name: ea questions 01.png
Size: 214 KB
  • Post #245
  • Quote
  • Oct 27, 2016 6:00am Oct 27, 2016 6:00am
  •  Gorraf
  • Joined Aug 2016 | Status: Member | 125 Posts
Quoting cityrohit
Disliked
hi goraff i require your help the EA they made me for me , i had put the indicator as desired by the EA but when the indicator makes a crossover nothing happens neither buy or sell. it make make buy or sell when there are no crossover. is this of the indicator or the EA. could you help me i will be putting this EA on my real money from 29th of oct for us Diwali ( the festivals of lights bring happiness ) i wanted to start the forex in new way plz help what i should do {image} {image} {image}
Ignored
Hello cityrohit!

Is that the EA I have made or is it done by somebody else?
I'm just curious because the EA I have made for you used an aqua colored line as well, and I do not recognize the alert text either.

If you want me to have a look on it, please upload the mq4 file or attach it to one of your posts.

Gorraf
  • Post #246
  • Quote
  • Oct 27, 2016 6:04am Oct 27, 2016 6:04am
  •  Gorraf
  • Joined Aug 2016 | Status: Member | 125 Posts
Quoting ludo willems
Disliked
Hello Gorraf, I have the following request to change the Ichimoku-indicator: could you add an alert (pop-up and push-alert) when the following happens: 1.chicou span crosses up over senkou span A 2. chicou crosses down over senkou span B I attach both pics and indi Thanks very much! Ludo{image}{image}{file}
Ignored
Hello ludo!

I have coded a simple alert into the indicator, however, I did not had the time to test it properly. Please attach it to one of your charts and check it out.

Gorraf
Attached Files
File Type: ex4 Ichimoku-kt-cloud.ex4   15 KB | 123 downloads
File Type: mq4 Ichimoku-kt-cloud.mq4   7 KB | 147 downloads
  • Post #247
  • Quote
  • Oct 27, 2016 7:07am Oct 27, 2016 7:07am
  •  Gorraf
  • Joined Aug 2016 | Status: Member | 125 Posts
Quoting jtcaleb
Disliked
Hello Gorraf: Thanks for all your help in helping everyone code their various indicators. You are an awesome person. Please I would like for you to help me do the followings: 1. I have an indicator which i would love to add arrows for direction change and an email and mobile alerts. The indicator itself has a line which changes from BLUE to ORANGE RED as trend changes and it's been very useful to me. I have the MQ4, which is attached here. This indicator does not repaint. Hence its usefulness. What I need is for the arrows to print when the line...
Ignored
Hello jtcaleb!

I hope you wanted something like this.

Gorraf
Attached File
File Type: mq4 Trend LINE.mq4   3 KB | 182 downloads
  • Post #248
  • Quote
  • Oct 27, 2016 2:15pm Oct 27, 2016 2:15pm
  •  jtcaleb
  • | Joined Feb 2011 | Status: Member | 51 Posts
Quoting Gorraf
Disliked
{quote} Hello jtcaleb! I hope you wanted something like this. Gorraf {file}
Ignored

Thanks Gorraf:

Just got this now and i'm testing it. Thank you so much for your help. You are awesome.

The first thing i noticed is that MOST of the arrows showed up in the right places. However, there are also lots of the green arrows that printed under the red color. For example, Green arrow, while the line is still red, but I never found a Red arrow while the line is still green.

My thought is maybe we need to code the printing of the arrows at the close of each bar and then compare that bar to the color of the line itself. If at the close of the bar, the line is still red, and it has printed a red arrow before, then it should not print another arrow until the line actually changes color. Each arrow color must match the line color and printed 1 bar after the color change to maintain the integrity and consistency of the line. Please forgive me. I'm trying to explain in a layman's term, you're the expert. I truly appreciate all you're doing. Please see the attachment to illustrate what I mean. Thanks.

Attached Image (click to enlarge)
Click to Enlarge

Name: Screenshot1.png
Size: 28 KB
  • Post #249
  • Quote
  • Oct 27, 2016 2:43pm Oct 27, 2016 2:43pm
  •  jtcaleb
  • | Joined Feb 2011 | Status: Member | 51 Posts
Hello Gorraf:

In addition to Post #248, here's another screenshot with explanations. Hope this can convey my thoughts. Thanks a billion.

Attached Image (click to enlarge)
Click to Enlarge

Name: Screenshot1.png
Size: 38 KB
  • Post #250
  • Quote
  • Oct 28, 2016 9:22am Oct 28, 2016 9:22am
  •  Gorraf
  • Joined Aug 2016 | Status: Member | 125 Posts
Quoting jtcaleb
Disliked
Hello Gorraf: In addition to Post #248, here's another screenshot with explanations. Hope this can convey my thoughts. Thanks a billion. {image}
Ignored
Hello Jtcaleb!

I have made some modifications according to your feedback.

Please check it out.

I have forgotten yesterday, to tell you, that, without an MQ4 file, or without a description abut what the onther indicator does, I can't implement it to or merge it with an other indicator. I should know, at least it's basic logic to work with it.

Gorraf
Attached File
File Type: mq4 Trend LINE.mq4   4 KB | 167 downloads
  • Post #251
  • Quote
  • Oct 28, 2016 1:56pm Oct 28, 2016 1:56pm
  •  jtcaleb
  • | Joined Feb 2011 | Status: Member | 51 Posts
Quoting Gorraf
Disliked
{quote} Hello Jtcaleb! I have made some modifications according to your feedback. Please check it out. I have forgotten yesterday, to tell you, that, without an MQ4 file, or without a description abut what the onther indicator does, I can't implement it to or merge it with an other indicator. I should know, at least it's basic logic to work with it. Gorraf {file}
Ignored

Hello Again Gorraf:

I cannot thank you enough. You are a real blessing and an awesome human being. Thank you.

I just checked the updated one out. It worked excellently. The only problem now is the Alerts.

1. The Alerts does not tell me whether the arrow is UP or DOWN. It just sent me some texts about YouTube, etc. It needs to be able to tell me whether the arrow is DOWN or UP so i can take the appropriate action.

2. Each time I receive a signal alert, The code repeats the alerts and i get over 100 alerts for the same thing immediately. I believe it should send only one alert per signal and not repeat the alert until another valid signal is given.

Now regarding the other 2 indicators (Post #240, Picture #2), you are right, i do not have the MQ4 for them. However, if you think you might still make it work with this signal, please let me know, and i can give you the details of how they work, so that way, we can then incorporate them with the TRENDLINE Indicator.

Once we get the Email and the Mobile alerts corrected, we can go ahead and try with the other indicators. Once again, Gorraf, I truly appreciate you. Thank you so much. I'll still be working through the weekend in case you post the update. Have a wonderful weekend.
  • Post #252
  • Quote
  • Oct 29, 2016 7:51am Oct 29, 2016 7:51am
  •  mariepiercm
  • | Joined Oct 2016 | Status: Junior Member | 1 Post
Hi guys, I need help to stop arrow disapearing, it only register the highest/lowest one, the past one get deleted, but I wish all the arrow you stay painted, here is the code if you can kindly help, thank you.

#property copyright "BB_AlertArrows.mq4"
#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 Yellow
#property indicator_color2 Yellow
extern int SignalGap = 3;
extern bool EnableSoundAlert = TRUE;
extern bool EnableMailAlert = FALSE;
int Gi_88 = 24;
double G_ibuf_92[];
double G_ibuf_96[];
int G_bars_100;
int G_count_104;
bool Gi_108;
// E37F0136AA3FFAF149B351F6A4C948E9
int init() {
SetIndexStyle(0, DRAW_ARROW, STYLE_SOLID, 1);
SetIndexStyle(1, DRAW_ARROW, STYLE_SOLID, 1);
SetIndexArrow(1, 233);
SetIndexArrow(0, 234);
SetIndexBuffer(0, G_ibuf_92);
SetIndexBuffer(1, G_ibuf_96);
G_bars_100 = Bars;
G_count_104 = 0;
return (0);
}
// EA2B2676C28C0DB26D39331A336C6B92
int start() {
int highest_20;
int lowest_24;
int Li_0 = IndicatorCounted();
if (Li_0 < 0) return (-1);
if (Li_0 > 0) Li_0--;
int Li_16 = Bars - 1;
if (Li_0 >= 1) Li_16 = Bars - Li_0 - 1;
if (Li_16 < 0) Li_16 = 0;
for (int Li_8 = Li_16; Li_8 >= 0; Li_8--) {
highest_20 = iHighest(NULL, 0, MODE_HIGH, Gi_88, Li_8 - Gi_88 / 2);
lowest_24 = iLowest(NULL, 0, MODE_LOW, Gi_88, Li_8 - Gi_88 / 2);
if (Li_8 == highest_20) G_ibuf_92[Li_8] = High[highest_20] + SignalGap * Point;
if (Li_8 == lowest_24) G_ibuf_96[Li_8] = Low[lowest_24] - SignalGap * Point;
}
Gi_108 = f0_1();
if (Gi_108) G_count_104 = 0;
if (G_count_104 == 0) {
if (EnableSoundAlert) {
if (G_ibuf_92[0] != EMPTY_VALUE && G_ibuf_92[0] > 0.0) {
Alert(TimeToStr(Time[0], TIME_DATE|TIME_MINUTES) + " BB_Alert Arrows sell " + Symbol() + " " + f0_0(Period()));
G_count_104++;
if (EnableMailAlert) {
SendMail(TimeToStr(Time[0], TIME_DATE|TIME_MINUTES) + " BO_Alert Arrows sell " + Symbol() + " " + f0_0(Period()), TimeToStr(Time[0], TIME_DATE|TIME_MINUTES) + " BO_Alert Arrows sell " + //Angel4x
Symbol() + " " + f0_0(Period()));
}
}
if (G_ibuf_96[0] != EMPTY_VALUE && G_ibuf_96[0] > 0.0) {
Alert(TimeToStr(Time[0], TIME_DATE|TIME_MINUTES) + " BB_Alert Arrows buy " + Symbol() + " " + f0_0(Period()));
G_count_104++;
SendMail(TimeToStr(Time[0], TIME_DATE|TIME_MINUTES) + " BB_Alert Arrows buy " + Symbol() + " " + f0_0(Period()), TimeToStr(Time[0], TIME_DATE|TIME_MINUTES) + " BO_Alert Arrows buy " +
Symbol() + " " + f0_0(Period()));
}
}
}
return (0);
}
// DBF842DBCEACF4840EBF7C9B65F53790
int f0_1() {
bool Li_ret_0 = FALSE;
if (G_bars_100 != Bars) {
Li_ret_0 = TRUE;
G_bars_100 = Bars;
}
return (Li_ret_0);
}
// B69AE6435CA312EDB19A3B43ADC42BDE
string f0_0(int Ai_0) {
if (Ai_0 == 1) return ("M1");
if (Ai_0 == 5) return ("M5");
if (Ai_0 == 15) return ("M15");
if (Ai_0 == 30) return ("M30");
if (Ai_0 == 60) return ("H1");
if (Ai_0 == 240) return ("H4");
if (Ai_0 == 1440) return ("D1");
if (Ai_0 == 10080) return ("W1");
if (Ai_0 == 43200) return ("MN1");
return ("");
}
  • Post #253
  • Quote
  • Nov 3, 2016 5:19am Nov 3, 2016 5:19am
  •  Dene
  • | Joined Mar 2015 | Status: Member | 15 Posts
Hi Jtcaleb,

I have the predictor V2 indicator. Would you be able to change it, to not show the value in the boxes, or make an option to change the colours on the values and boxes? As it is now, it makes the chart too busy. If you could assist me with this it would be much appreciated.

Kind regards
Attached File
File Type: ex4 predictor V2.0.ex4   20 KB | 156 downloads
  • Post #254
  • Quote
  • Nov 3, 2016 6:52am Nov 3, 2016 6:52am
  •  Gorraf
  • Joined Aug 2016 | Status: Member | 125 Posts
Quoting jtcaleb
Disliked
{quote} Hello Again Gorraf: I cannot thank you enough. You are a real blessing and an awesome human being. Thank you. I just checked the updated one out. It worked excellently. The only problem now is the Alerts. 1. The Alerts does not tell me whether the arrow is UP or DOWN. It just sent me some texts about YouTube, etc. It needs to be able to tell me whether the arrow is DOWN or UP so i can take the appropriate action. 2. Each time I receive a signal alert, The code repeats the alerts and i get over 100 alerts for the same thing immediately. I...
Ignored
Hello jtcaleb!

Sorry for the delay, I didn't had the spare time to do a follow up on the forums.

I have made some modifications, which should fix the issues.

Gorraf
Attached File
File Type: mq4 Trend LINE.mq4   4 KB | 184 downloads
  • Post #255
  • Quote
  • Nov 3, 2016 10:56am Nov 3, 2016 10:56am
  •  jtcaleb
  • | Joined Feb 2011 | Status: Member | 51 Posts
Quoting Dene
Disliked
Hi Jtcaleb, I have the predictor V2 indicator. Would you be able to change it, to not show the value in the boxes, or make an option to change the colours on the values and boxes? As it is now, it makes the chart too busy. If you could assist me with this it would be much appreciated. Kind regards {file}
Ignored

Hello Dene:

Gorraf is the master coder here. He will be able to help you. Please direct your request to him. He's an awesome person.
  • Post #256
  • Quote
  • Nov 3, 2016 11:08am Nov 3, 2016 11:08am
  •  Dene
  • | Joined Mar 2015 | Status: Member | 15 Posts
Hi Jtcaled,

Sorry for that, thanks for letting me know, will redirect to Goraaf. Much appreciated and thanks again.
  • Post #257
  • Quote
  • Nov 3, 2016 11:12am Nov 3, 2016 11:12am
  •  Dene
  • | Joined Mar 2015 | Status: Member | 15 Posts
Hi Gorraf,

I have the predictor v2. Would you be able to change it, to not show the value in the boxes, or make an option to change the colours on the values and boxes, so that you can "hide"it. As it is now, it makes the chart too busy. If you could assist me with this it would be much appreciated. Kind regards.
Attached File
File Type: ex4 predictor V2.0.ex4   20 KB | 124 downloads
  • Post #258
  • Quote
  • Nov 3, 2016 1:31pm Nov 3, 2016 1:31pm
  •  jtcaleb
  • | Joined Feb 2011 | Status: Member | 51 Posts
Quoting Gorraf
Disliked
{quote} Hello jtcaleb! Sorry for the delay, I didn't had the spare time to do a follow up on the forums. I have made some modifications, which should fix the issues. Gorraf {file}
Ignored
Thanks so much Gorraf. I really appreciate all your assistance. I have installed the revised TrendLine and testing it on the one minute charts to see if it will alert. I will keep you posted,

In the meantime, Please can you take a look at the following and tell me if you can code an alert for this indicator. It will have to be your own logic since i do not have the MQ4 for the indicator. My train of thought is to do a brand new alert that searches for that indicator, and when the required action is completed in that indicator, then our new alert will send a message. I am attaching an image here for you to see and the indicator EX4. Thanks in advance.

Attached File
File Type: ex4 0_WolfeWave_04m (2).ex4   10 KB | 172 downloads


Attached Image (click to enlarge)
Click to Enlarge

Name: Screenshot1.png
Size: 47 KB
  • Post #259
  • Quote
  • Nov 4, 2016 10:47am Nov 4, 2016 10:47am
  •  cityrohitsml
  • | Joined Nov 2016 | Status: Junior Member | 3 Posts
hello.

could you help me creating an EA from this indicator

just as the simple rule for sl of 20 and take profit of 20pips

plz
Attached Image (click to enlarge)
Click to Enlarge

Name: Untitled.png
Size: 197 KB
Attached File
File Type: mq4 BuySel Alert.mq4   7 KB | 212 downloads
  • Post #260
  • Quote
  • Nov 4, 2016 6:01pm Nov 4, 2016 6:01pm
  •  CollinG
  • | Joined Jan 2016 | Status: Member | 3 Posts
Hi,

I need help with my MA Cross EA that I developed using Fxpro Quant. When the MA Crosses up the bot opens a Buy Postion with TP and SL and it also opens a Sell Pending order approximately 11 pip away from the Buy position and the opposite happens when the MA crosses down.

If the Buy Postion SL is triggered, what code can be added to the EA to open a new Buy Pending order at the original price when the Buy order was started? I am newbie and have no idea on how to code. Please assist.

Kind regards
Collin
Attached File
File Type: mq4 ma cross.mq4   4 KB | 118 downloads
  • Platform Tech
  • /
  • Free Coding request
  • Reply to Thread
    • 1 1112Page 131415 27
    • 1 12Page 1314 27
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 / ©2021