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

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Need help to code EAs for MT4 and MT5 4 replies

I will code your scalping EAs for no charge 36 replies

I will code your pivot EAs for no charge 18 replies

EAs and indicators relating to moutaki... 22 replies

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

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 37,012
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 158159Page 160161162 2688
  • 1 Page 160 2688
  •  
  • Post #3,181
  • Quote
  • Nov 26, 2013 12:12pm Nov 26, 2013 12:12pm
  •  Illuminated
  • | Joined May 2013 | Status: Member | 31 Posts
2 examples
Attached Image (click to enlarge)
Click to Enlarge

Name: gbpusd.png
Size: 28 KB

Attached Image (click to enlarge)
Click to Enlarge

Name: eur.png
Size: 33 KB
 
 
  • Post #3,182
  • Quote
  • Nov 26, 2013 12:13pm Nov 26, 2013 12:13pm
  •  Illuminated
  • | Joined May 2013 | Status: Member | 31 Posts
Maybe that's it. I didnt know what Magic number means. Thats the Ticket? So if its false it will manage any ticket without entering the #? That would be great. I'll try it out.
 
 
  • Post #3,183
  • Quote
  • Nov 26, 2013 12:15pm Nov 26, 2013 12:15pm
  •  Illuminated
  • | Joined May 2013 | Status: Member | 31 Posts
Confirmed. That's the (magic) trick! thanks!
 
 
  • Post #3,184
  • Quote
  • Nov 26, 2013 12:16pm Nov 26, 2013 12:16pm
  •  fxdaytrader_
  • Joined Jan 2011 | Status: UberTroll | 1,847 Posts
great, I was going to post the setfile, but if it works no, super

magicnumber is like a stamp the order got. If an EA selects orders it can filter by that number, so it makes sure that only its orders will be managed ...
btw.: if you set Filterbymagic true and set MagicNumber=0 then it will manage the trades you opened manually

edit: Could you test the EA with multiple open orders, maybe both long and shorts, also? It is because I implemented a second loop for the things should be called just once per candle (like the atr stop)..
PM me with coding requests and I'll probably put you on my ignore list
 
 
  • Post #3,185
  • Quote
  • Nov 26, 2013 12:27pm Nov 26, 2013 12:27pm
  •  Illuminated
  • | Joined May 2013 | Status: Member | 31 Posts
Unfortunately the pair I have multiple orders on is Gold LOL. I'll look for a setup/trend on another pair and try to test it.
 
 
  • Post #3,186
  • Quote
  • Nov 26, 2013 12:30pm Nov 26, 2013 12:30pm
  •  fxdaytrader_
  • Joined Jan 2011 | Status: UberTroll | 1,847 Posts

you could open the indicator and set usefix=false and then look to the 1000 and change it to 1000*10 or 1000*100 or 1000*1000, not 100% sure.
Since it does show support/resistance-levels at my mt4-platforms for gold also, I do not know what to change else.

Maybe some of the profis (hanover, ferrufx, etc.) around here have the answer?
PM me with coding requests and I'll probably put you on my ignore list
 
 
  • Post #3,187
  • Quote
  • Nov 26, 2013 1:00pm Nov 26, 2013 1:00pm
  •  ayush2020
  • | Joined Nov 2011 | Status: Junior Member | 1 Post
Hi guys.. can we make such code so that one formula will be seen for a particular time frame which we will set ?? as example let us say i want to see one particular formula for next 7 days only .. thn it will expiry automatically ...

Thanx
 
 
  • Post #3,188
  • Quote
  • Nov 26, 2013 1:39pm Nov 26, 2013 1:39pm
  •  Illuminated
  • | Joined May 2013 | Status: Member | 31 Posts
Very interesting. I'll mess around with it. Also the EA will work on manual trades if I set Magic number to false, but it will also work if I set it to true and make magic number =0? So with that too, it will manage manual trades and multiple trades? I will test that setting if that is the proper one to use.
 
 
  • Post #3,189
  • Quote
  • Edited at 3:40pm Nov 26, 2013 2:45pm | Edited at 3:40pm
  •  Illuminated
  • | Joined May 2013 | Status: Member | 31 Posts
My next venture for the future will to get a TRUE ATR stop indicator, much similar to the one I have now, and find an EA to go with it. Your EA has ATR already built in. Is this Wilder's actual equation?
Here is a link to true ATR. I'm sure you probably already know it...
http://stockcharts.com/help/doku.php...e_true_range_a
BTW Gold works now. It was the new version you uploaded if I forgot to mention. I think I'm gona be quite satisfied for a while....
 
 
  • Post #3,190
  • Quote
  • Nov 26, 2013 3:43pm Nov 26, 2013 3:43pm
  •  szamoca
  • | Joined Oct 2013 | Status: Member | 25 Posts
Quoting capoeira
Disliked
I'm willing to pay someone that changes following script so that it buys the maximum position possible, once the stoploss is so close that calculated position size in the original script is bigger than margin can buy. At the moment the script produces an error message saying "not enough money", when stopploss is too tight: http://www.forexfactory.com/showthread.php?t=281772 If this is to complicated (changing the script), a new script that will calculate and buy/sell the biggest position possibel also would do it. Thanks
Ignored
I sent you a PM.
 
 
  • Post #3,191
  • Quote
  • Nov 26, 2013 7:06pm Nov 26, 2013 7:06pm
  •  mclougke
  • | Joined Oct 2008 | Status: Member | 2 Posts
hi, I have read many, many threads and various forums but I cannot seem to find/get working my EA to read the 'data window variables' provided by custom indicators.

I have tried using iCustom but it returns random doubles that don't appear to correspond to what is shown in the data window for the latest (or any other given bar). I clearly have something wrong ...

I suspect that the indicator_buffer(s) are set to local double[] buffers using SetIndexBuffer(), so I have between 1 and 8 Indicator_Buffers, each with an inordinate array of doubles (I suspect one for each bar/tick)

More to the point, do I have to call iCustom for each value in each array for each 'shift'/bar? So, for i=0 ; i<8; i++) { for (j=0;j<nBars;j++) } ...etc

Any generic ideas / sample code please?
 
 
  • Post #3,192
  • Quote
  • Nov 27, 2013 8:25am Nov 27, 2013 8:25am
  •  szamoca
  • | Joined Oct 2013 | Status: Member | 25 Posts
Quoting mclougke
Disliked
More to the point, do I have to call iCustom for each value in each array for each 'shift'/bar? So, for i=0 ; i<8; i++) { for (j=0;j<nBars;j++) } ...etc Any generic ideas / sample code please?
Ignored
Yes, unfortunately iCustom can get only 1 value of an array at a time, another idea : if you have sourcecode of indicator then you could copy/paste into your EA to avoid from many iCustom calls.
Inserted Code
double temp = iCustom(Symbol(),0,"indicatorname",params...,indicator_buffer_index,shift);
shift index starts from 0 as you know
It works fine, can you show your code anyway?
 
 
  • Post #3,193
  • Quote
  • Nov 27, 2013 10:50am Nov 27, 2013 10:50am
  •  Illuminated
  • | Joined May 2013 | Status: Member | 31 Posts
If anybody is using the ATR stop indicator and EA the setting I have had great success thus far is with a 10 period 2.5 factor indicator/EA, and a 2 pip buffer on the EA. Dont forget to set the magic number to 0 so it will manage your manual trades. Thanks again fxdaytrader. Excellent work. Made around 350 pips today across various pairs.
 
 
  • Post #3,194
  • Quote
  • Nov 27, 2013 10:58am Nov 27, 2013 10:58am
  •  fxdaytrader_
  • Joined Jan 2011 | Status: UberTroll | 1,847 Posts
Nice to hear that. I you like, post a setfile so that other users can use your settings also
PM me with coding requests and I'll probably put you on my ignore list
 
 
  • Post #3,195
  • Quote
  • Nov 28, 2013 12:05am Nov 28, 2013 12:05am
  •  fxdaytrader_
  • Joined Jan 2011 | Status: UberTroll | 1,847 Posts
ordermanager ea - trail stoporders also

I am not sure if it works 100% correct, but at least it does something (e.g. if UseATRTrailStop_v3 = true) ->

I have modified the OrderManager-EA to trail pendingorders (BUYSTOP/SELLSTOP), limitorders not tested yet, also.

The idea is to trail the pendingorders closer to the current marketprice.

if TrailOpenOrders=true open orders will be managed.

If you set TrailPendingStopOrders=true, the EA will trail pending-stoporders

It does not matter if both are set to true

If you set UseATRTrailingStop_v3 to true, you need the current version of the corresponding indicator, download it at http://www.forexfactory.com/showthre...12#post7114012

Further I fixed one problem: if MarketTechniqueStop=true it has managed the wrong orders (e.g. different pairs although currentpaironly was true) ...
Attached File
File Type: mq4 AtrAndMore_SimpleOrderManager EA v1.2.mq4   95 KB | 368 downloads
PM me with coding requests and I'll probably put you on my ignore list
 
 
  • Post #3,196
  • Quote
  • Nov 28, 2013 4:48am Nov 28, 2013 4:48am
  •  mclougke
  • | Joined Oct 2008 | Status: Member | 2 Posts
Quoting szamoca
Disliked
{quote} Yes, unfortunately iCustom can get only 1 value of an array at a time, another idea : if you have sourcecode of indicator then you could copy/paste into your EA to avoid from many iCustom calls. double temp = iCustom(Symbol(),0,"indicatorname",params...,indicator_buffer_index,shift); shift index starts from 0 as you know It works fine, can you show your code anyway?
Ignored

szamoca, I only have the one-liner at present, so not much to show ... I will work on it next week, thanks
 
 
  • Post #3,197
  • Quote
  • Nov 28, 2013 4:38pm Nov 28, 2013 4:38pm
  •  sayedtaha
  • | Joined Jul 2012 | Status: Member | 23 Posts
hi all
could anyone code a ea for me
the ea opens one buy stop order and one sell stop order and when any order is triggered the ea puts new pending orders
the predfinde parameters are as follows
distance between pending orders ,take profit ,trailing profit ,lot size ,max. Number of open position and multepler
 
 
  • Post #3,198
  • Quote
  • Nov 28, 2013 7:40pm Nov 28, 2013 7:40pm
  •  Ak386
  • | Joined Jun 2012 | Status: Member | 197 Posts
Hi guys, I need in this indicator that can give me a pop-up sound alert when the price get the value in pips, eg: touch or reaches 8 pips the alarm sounds immediately.
It is important if I change the value in pips also sound the alarm.




Thank you in advance

Akita
Attached Image
Attached File
File Type: mq4 color candles v1.1.mq4   2 KB | 201 downloads
Be happy, friendly, humble and winner!!
 
 
  • Post #3,199
  • Quote
  • Nov 28, 2013 10:34pm Nov 28, 2013 10:34pm
  •  fxdaytrader_
  • Joined Jan 2011 | Status: UberTroll | 1,847 Posts
did some changes also.
seems to work (alert if candle >= the external pips-parameter)

now it is possible to choose the range-calculation method also (so "open-close" or "high-low")

pls. try
Attached File
File Type: mq4 Color Candles Alerts v1.2.mq4   5 KB | 271 downloads
PM me with coding requests and I'll probably put you on my ignore list
 
 
  • Post #3,200
  • Quote
  • Nov 29, 2013 8:54am Nov 29, 2013 8:54am
  •  Ak386
  • | Joined Jun 2012 | Status: Member | 197 Posts
Quoting fxdaytrader_
Disliked
did some changes also. seems to work (alert if candle >= the external pips-parameter) now it is possible to choose the range-calculation method also (so "open-close" or "high-low") pls. try {file}
Ignored
Nice work but I need the alarm sounds immediately touch x pips.
This is not good for me if the alarm sounds when the bar closes or closes candles.
I hope you can change this indicator again.
Thank you for time and effort
Akita
Be happy, friendly, humble and winner!!
 
 
  • Platform Tech
  • /
  • I will code your EAs and Indicators for no charge
  • Reply to Thread
    • 1 158159Page 160161162 2688
    • 1 Page 160 2688
27 traders viewing now, 10 are members:
Invisible
,
Invisible
,
Sincere007
,
inversio
,
PlSoft
,
siglot
,
joseph7171
,
cdk1212
,
Invisible
,
egoli55
  • 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