• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 10:19pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 10:19pm
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 910Page 111213 27
  • 1 10Page 1112 27
  •  
  • Post #201
  • Quote
  • Oct 10, 2016 5:11am Oct 10, 2016 5:11am
  •  Gorraf
  • Joined Aug 2016 | Status: Member | 125 Posts
Quoting cityrohit
Disliked
Thanks for The EA Gorraf could you help me creating an alerts for crossover alert for MACD and SMA on the chart window whether the MACD is moving up of moving down i have attached the source code here plz {file}
Ignored
Hello cityrohit!

Juat to make it sure, and since the code you have attached does what you have asked me to do.
Do you want the alert in the EA I have made?

Additionally, could you elaborate me a bit about what issues did you encounter while testing the EA?

Gorraf
  • Post #202
  • Quote
  • Oct 10, 2016 6:17am Oct 10, 2016 6:17am
  •  cityrohit
  • | Joined Apr 2015 | Status: Member | 53 Posts
Hello Gorraf,
thanks for helping me

What this ea is doing where it was sell call it use to make buy ( see the attached image of All sl)

and reverse of buy also.

i use simple indicator
of DBB, MACD and 50SMA only

When Dbb Crosses the MACD up side /downside buy or sell call is generated.
Attached Images (click to enlarge)
Click to Enlarge

Name: all sl.png
Size: 238 KB Click to Enlarge

Name: wrone ea.png
Size: 198 KB Click to Enlarge

Name: wrong ea 01.png
Size: 229 KB Click to Enlarge

Name: wrong ea.png
Size: 229 KB
Attached File
File Type: ex4 Aqua EA demo.ex4   376 KB | 116 downloads
  • Post #203
  • Quote
  • Edited at 8:00am Oct 10, 2016 7:48am | Edited at 8:00am
  •  Gorraf
  • Joined Aug 2016 | Status: Member | 125 Posts
Quoting cityrohit
Disliked
Hello Gorraf, thanks for helping me What this ea is doing where it was sell call it use to make buy ( see the attached image of All sl) and reverse of buy also. i use simple indicator of DBB, MACD and 50SMA only When Dbb Crosses the MACD up side /downside buy or sell call is generated. {file} {image} {image} {image} {image}
Ignored
Hello

It took some time, but I guess, I have figured out what the issue might be.

In your post from 06.10.2016 07:33 (http://www.forexfactory.com/showthre...50#post9181950) you have included an aqua011.mq4 indicator. (You have sent me the same indicator via PM.)

The indicator's default setting are different from the one you are using it with and have attached to your post at 07.10.2016 04:41 (http://www.forexfactory.com/showthre...93#post9184793)

............................ 06.10 ..... 07.10
BBandsPeriod = .. 20 .......... 10
MAPeriod = ......... 20 ........... 50
MACD_Fast = ...... 12 ........... 30
MACD_Slow = ..... 26 ........... 50
MACD_SMA = ........ 9 ............. 7

I have changed the default settings of the EA to match the indicator's you are using. The indicator and the EA does not exchange data between each-other. You need to set the settings in both separately to the same value if you want to see the same results.

Gorraf
Attached File
File Type: ex4 cityroit_EA_161006.ex4   12 KB | 143 downloads
  • Post #204
  • Quote
  • Oct 10, 2016 8:35am Oct 10, 2016 8:35am
  •  cityrohit
  • | Joined Apr 2015 | Status: Member | 53 Posts
Sorry i had added the demo version earlier now i have attached the original they had sent me.


i made some corrections to it myself ( i have attached the image for the corrections)


and it has given me so far good results.

will be doing more testing .then i only put it on my live account.


thanks for helping me.
Attached Images (click to enlarge)
Click to Enlarge

Name: ea corrections.png
Size: 665 KB Click to Enlarge

Name: ea returns.png
Size: 253 KB
Attached File
File Type: mq4 Aqua-EA.mq4   9 KB | 189 downloads
  • Post #205
  • Quote
  • Oct 10, 2016 8:39am Oct 10, 2016 8:39am
  •  cityrohit
  • | Joined Apr 2015 | Status: Member | 53 Posts
i use the same configuration as in the indicator and the EA
  • Post #206
  • Quote
  • Oct 11, 2016 7:15am Oct 11, 2016 7:15am
  •  Andrey.G
  • | Joined May 2016 | Status: Member | 15 Posts
Quoting Gorraf
Disliked
{quote} Hello Andrey! I have modified your EA. What you should watch out for is, while you need to set positive numbers for the stop loss and take profit values, to the offset values, you will need to set negative values, if you want to get your sell stop or buy stop orders placed lower, than the border of the rectangle. Of course, all can be set separately, so if you want to place the buy stop higher, and he sell stop lover, you need to set a positive number to the buy stop offset and a negative number to the sell stop offset. Gorraf {file}
Ignored
Hey Gorraf,

How are you? Hope your leg is much better!

Thanks for the EA it works really good, but i will need some modification to add when you have some time please:

1) Can you add Buy Limits and Sell Limits ( So with this EA i can set up Stops and Limits as well)
2) Can you add TP and SL as a percentage from the box range ( for example i want 50 % Stop loss from the box range which is 66 pips so the EA will setup 33 pips SL; so i can set up SL and TP in Pips or Percentage if i need )
3)Is it possible the EA to set up those Pending orders to 28 pairs without open all those pairs in charts? The more charts i open the MT4 platform start lacking and freeze which is impossible to trade. I have found some EA that had that ability to open some pairs, so if you need the code i can provide it to you.

Let me know if those modification are possible and how can help you further to make it easier for you?
Cheers mate!
  • Post #207
  • Quote
  • Oct 11, 2016 7:52am Oct 11, 2016 7:52am
  •  Forexpinbar
  • Joined Jul 2016 | Status: ADDICTED TO HUGE PIPS | 1,373 Posts
Hello great coders..Can anyone create EA or script based on the following rules to display lot size on screen in mt4 after calculations based on the inputs in screenshots?..This is brilliant way to calculate lot size..As we all know risk management is very important in forex trading and most of the successful forex traders and good risk managers.
Attached Image (click to enlarge)
Click to Enlarge

Name: POSITION SIZE CALCULATOR.png
Size: 50 KB
Goal of a successful trader is to make the best trades. Money is secondary
  • Post #208
  • Quote
  • Oct 11, 2016 8:55am Oct 11, 2016 8:55am
  •  Gorraf
  • Joined Aug 2016 | Status: Member | 125 Posts
Quoting Andrey.G
Disliked
{quote} Hey Gorraf, How are you? Hope your leg is much better! Thanks for the EA it works really good, but i will need some modification to add when you have some time please: 1) Can you add Buy Limits and Sell Limits ( So with this EA i can set up Stops and Limits as well) 2) Can you add TP and SL as a percentage from the box range ( for example i want 50 % Stop loss from the box range which is 66 pips so the EA will setup 33 pips SL; so i can set up SL and TP in Pips or Percentage if i need ) 3)Is it possible the EA to set up those Pending orders...
Ignored

Hello!

Point 1 might need some additional explanation, since the current EA places buystop and sellstop orders, and it is not really clear to me where, and how you want to place buylimits and selllimits.

I could merge the EA and the indicator to handle all the currencies you want, but if you want to do this, you need to know, that you will not be able to change any of the settings (timeframe, stop loss, take profit, offset, lot size, etc...) individually. (Well, you could, but adding so much variables into an indicator does not make sense. It is still less painful not just for me, for you too, to set them up one-by-one, instead of changing stuff in the indicator, without seeing the actual chart.)

I have modified the TP and SL workflow, it works now as a percentage of the box (without the offset).

Gorraf
Attached File
File Type: ex4 Andrey.G_EA_160930.ex4   11 KB | 115 downloads
  • Post #209
  • Quote
  • Oct 12, 2016 1:50am Oct 12, 2016 1:50am
  •  simnz
  • Joined Nov 2015 | Status: Member | 1,676 Posts
Quoting Gorraf
Disliked
{quote} Hello! Point 1 might need some additional explanation, since the current EA places buystop and sellstop orders, and it is not really clear to me where, and how you want to place buylimits and selllimits. I could merge the EA and the indicator to handle all the currencies you want, but if you want to do this, you need to know, that you will not be able to change any of the settings (timeframe, stop loss, take profit, offset, lot size, etc...) individually. (Well, you could, but adding so much variables into an indicator does not make sense....
Ignored
Hi Gorraf,

Your approach to EA coding is quite good . Focus is on simplicity and creating effective assistants for a trader.

If you can give an option in the EA to place trade instantly or at a pre-determined price, without really waiting for buystop or sellstop order as well that will be excellent.
Practice makes a person perfect
Golden 88 Pips Today: 0
  • Post #210
  • Quote
  • Oct 12, 2016 7:22am Oct 12, 2016 7:22am
  •  Gorraf
  • Joined Aug 2016 | Status: Member | 125 Posts
Quoting simnz
Disliked
{quote} Hi Gorraf, Your approach to EA coding is quite good . Focus is on simplicity and creating effective assistants for a trader. If you can give an option in the EA to place trade instantly or at a pre-determined price, without really waiting for buystop or sellstop order as well that will be excellent.
Ignored
Hello simnz

I might be really tired today, but the buystop is there to place a trade at a pre-determinded price.
I could add another one, but I would need a criteria, some kind of logic about at what price level that should happen.
I could add some buttons to place an instant trade, which would set the SL and TP levels of the trade, but as these le levels are currently determined as a percentage of the box size this might not be intended.

Gorraf

P.S.:
I like your signature.
It has a nice green tone.
  • Post #211
  • Quote
  • Oct 12, 2016 8:44am Oct 12, 2016 8:44am
  •  Andrey.G
  • | Joined May 2016 | Status: Member | 15 Posts
Quoting Gorraf
Disliked
{quote} Hello! Point 1 might need some additional explanation, since the current EA places buystop and sellstop orders, and it is not really clear to me where, and how you want to place buylimits and selllimits. I could merge the EA and the indicator to handle all the currencies you want, but if you want to do this, you need to know, that you will not be able to change any of the settings (timeframe, stop loss, take profit, offset, lot size, etc...) individually. (Well, you could, but adding so much variables into an indicator does not make sense....
Ignored
Hello Gorraf

Let me get more details for the points:

1) I want instead of Buy Stop to be Buy Limit and instead Sell Stop to be Sell Limit to the exactly same end of the box range, let me explain - very often the market is continuing to move in that range and i want to catch that movements inside the box, So if you can add to the existing EA the Buy Limits and Sell Limits and they to be set up exactly on the borders of the box range (with the same option of 1,2,3 .. pips distance from the border if i needed to use it) will be just great.
3) Look i am not lazy to put this EA and Indicator in all 28 pairs in the same time, the problem is that MT4 is freezing and completely blocked so technically its impossible to hold all those 28 charts open ( i tried on different PC`s and few different MT4 platforms ) So anyway if you can write that EA no matter that will be the same settings for all pairs i am still willing to give it a run and will make my life easier. Just to confirm my system is using all major currencies: AUD, CAD, CHF, EUR, GBP, NZD, USD, JPY.

Cheers!
  • Post #212
  • Quote
  • Oct 12, 2016 11:17am Oct 12, 2016 11:17am
  •  Gorraf
  • Joined Aug 2016 | Status: Member | 125 Posts
Quoting Andrey.G
Disliked
{quote} Hello Gorraf Let me get more details for the points: 1) I want instead of Buy Stop to be Buy Limit and instead Sell Stop to be Sell Limit to the exactly same end of the box range, let me explain - very often the market is continuing to move in that range and i want to catch that movements inside the box, So if you can add to the existing EA the Buy Limits and Sell Limits and they to be set up exactly on the borders of the box range (with the same option of 1,2,3 .. pips distance from the border if i needed to use it) will be just great....
Ignored
Write a list of the currency pairs, that you need, but aren't included in the EA.
Attached File
File Type: ex4 Andrey.G_EA_160930_v2.ex4   57 KB | 133 downloads
  • Post #213
  • Quote
  • Oct 12, 2016 11:32am Oct 12, 2016 11:32am
  •  Andrey.G
  • | Joined May 2016 | Status: Member | 15 Posts
Quoting Gorraf
Disliked
{quote} Write a list of the currency pairs, that you need, but aren't included in the EA. {file}
Ignored
Thats looking good Gorraf

Here are the missing pairs: AUD/CAD; AUD/CHF; AUD/NZD; CAD/CHF; EUR/CAD; EUR/CHF; EUR/NZD; GBP/AUD; GBP/CAD; GBP/CHF; GBP/NZD; NZD/CAD; NZD/CHF;
  • Post #214
  • Quote
  • Oct 12, 2016 12:15pm Oct 12, 2016 12:15pm
  •  groovingz
  • | Joined Jul 2015 | Status: Member | 8 Posts
Hey Gorraf

Hope the developer does'nt mind. Can you kindly add mobile Alertnotification and email notification when everytime below indicator changes colour to send notifications via mobile and via email.

Thanks.
Attached File
File Type: ex4 Snake Line.ex4   13 KB | 107 downloads
Attached File
File Type: mq4 Snake Line.mq4   4 KB | 137 downloads
  • Post #215
  • Quote
  • Oct 12, 2016 12:32pm Oct 12, 2016 12:32pm
  •  cityrohit
  • | Joined Apr 2015 | Status: Member | 53 Posts
i have started getting an error code no 2 order not send what is this


could you help it on
  • Post #216
  • Quote
  • Oct 12, 2016 1:01pm Oct 12, 2016 1:01pm
  •  Gorraf
  • Joined Aug 2016 | Status: Member | 125 Posts
Quoting Andrey.G
Disliked
{quote} Thats looking good Gorraf Here are the missing pairs: AUD/CAD; AUD/CHF; AUD/NZD; CAD/CHF; EUR/CAD; EUR/CHF; EUR/NZD; GBP/AUD; GBP/CAD; GBP/CHF; GBP/NZD; NZD/CAD; NZD/CHF;
Ignored
EA extended with the listed currency pairs.

Have fun.
Attached File
File Type: ex4 Andrey.G_EA_160930_v2.ex4   64 KB | 123 downloads
  • Post #217
  • Quote
  • Oct 12, 2016 1:24pm Oct 12, 2016 1:24pm
  •  Gorraf
  • Joined Aug 2016 | Status: Member | 125 Posts
Quoting groovingz
Disliked
Hey Gorraf Hope the developer does'nt mind. Can you kindly add mobile Alertnotification and email notification when everytime below indicator changes colour to send notifications via mobile and via email. Thanks. {file}{file}
Ignored
Alerts added.
Attached Files
File Type: ex4 Snake Line.ex4   13 KB | 143 downloads
File Type: mq4 Snake Line.mq4   4 KB | 152 downloads
  • Post #218
  • Quote
  • Oct 12, 2016 1:28pm Oct 12, 2016 1:28pm
  •  Gorraf
  • Joined Aug 2016 | Status: Member | 125 Posts
Quoting cityrohit
Disliked
i have started getting an error code no 2 order not send what is this could you help it on
Ignored
Error code 2 refers to a connection error.
Wait a bit, and the error is still present send a screenshot please.
  • Post #219
  • Quote
  • Oct 12, 2016 1:34pm Oct 12, 2016 1:34pm
  •  groovingz
  • | Joined Jul 2015 | Status: Member | 8 Posts
Quote
Disliked
Quoting groovingz
Hey Gorraf Hope the developer does'nt mind. Can you kindly add mobile Alertnotification and email notification when everytime below indicator changes colour to send notifications via mobile and via email. Thanks. {file}{file}
Alerts added.

Thanks alot Gorraf.
  • Post #220
  • Quote
  • Oct 12, 2016 4:31pm Oct 12, 2016 4:31pm
  •  Andrey.G
  • | Joined May 2016 | Status: Member | 15 Posts
Quoting Gorraf
Disliked
{quote} EA extended with the listed currency pairs. Have fun. {file}
Ignored
Hey Gorraf,

I was so excited so i tested it right away Problem is that it doesn´t trigger any pairs that have JPY in them (see the screenshot) all the rest are fine, i tested it like 5 times with different settings but only JPY pairs didnt being set up, can you please have a look when you have a chance. Cheers!
Attached Image (click to enlarge)
Click to Enlarge

Name: Version 1.png
Size: 117 KB
  • Platform Tech
  • /
  • Free Coding request
  • Reply to Thread
    • 1 910Page 111213 27
    • 1 10Page 1112 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