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

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Printable Version

Similar Threads

Fixing Your Indicators or EAs (Free) 449 replies

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

Oanda MT4 - Indicators and EAs not showing 1 reply

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
  • 29,612
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 20192020Page 202120222023 2167
  • 1 Page 2021 2167
  •  
  • Post #40,401
  • Quote
  • Oct 17, 2020 9:09am Oct 17, 2020 9:09am
  •  cgninvesting
  • | Joined Mar 2020 | Status: Member | 47 Posts
Quoting Pett
Disliked
{quote} CGN, I coded the EMA and M15 filters into the EA (lines 148 to 212). I did not include them in the inputs since you already specified their respective parameters.
Ignored
Hi Pett,

Sorry to bother you again, thinking on doing a better backtesting on different TF, would be possible to add the following parameters to the inputs tab?

- MACD on current TF "true or false"
- CCI on current TF "true or false"
- EMA 20 be able to choose the time frame
- EMA 200 be able to choose the time frame

Also I'd like add if possible one extra condition for entries

- Entry candle must be same color than the highest TF.

Thank you so much Pett!

Best,
CGN
  • Post #40,402
  • Quote
  • Oct 17, 2020 10:50am Oct 17, 2020 10:50am
  •  Pett
  • | Joined Jan 2018 | Status: Member | 20 Posts
Quoting cgninvesting
Disliked
{quote} MACD on current TF "true or false" - CCI on current TF "true or false" - EMA 20 be able to choose the time frame - EMA 200 be able to choose the time frame
Ignored
CGN,
These options are already available in the EA I uploaded. You can choose your preferred time frame from the drop down menu.
Attached Image (click to enlarge)
Click to Enlarge

Name: MACD.png
Size: 9 KB
This applies to the MACD, CCI and now the 200 and 20 EMAs (file attached.

Quoting cgninvesting
Disliked
{quote} Also I'd like add if possible one extra condition for entries - Entry candle must be same color than the highest TF.
Ignored
This request is a bit vague. Not sure what you mean by highest TF. Anyway the entry criteria function is located from lines 278 to 293.
Attached Image (click to enlarge)
Click to Enlarge

Name: code.png
Size: 23 KB
If by highest TF you mean the Monthly time frame then simply uncomment (remove "/*" and "*/") from the sections of the code highlighted in the red rectangle and arrow. If you mean another time frame then also go on and change "MN1" to your preferred time frame (D1, W1, H4 etc) after uncommenting. This way you will have a feel and deeper understanding of the code you are working with and ultimately be in a position to modify it to suit your needs.
Good luck!
Attached File
File Type: mq4 Candle Color EA.mq4   26 KB | 64 downloads
1
  • Post #40,403
  • Quote
  • Oct 17, 2020 11:37am Oct 17, 2020 11:37am
  •  djorshuar
  • | Joined Apr 2018 | Status: Member | 34 Posts
I need a coder to help me code this indicator below in a way that it only displays from left of the mt4 chart to the current time in price and not extend to the far right hand side of the mt4 chart. Thanks
Attached File
File Type: mq4 ICT 80_20.mq4   7 KB | 74 downloads
  • Post #40,404
  • Quote
  • Oct 17, 2020 1:14pm Oct 17, 2020 1:14pm
  •  solorik
  • | Joined Mar 2011 | Status: Member | 58 Posts
Quoting jeanlouie
Disliked
{quote} What have you got so far? double cur_body_size = MathAbs(Close[i]-Open[i]); double prev_body_size = MathAbs(Close[i+1]-Open[i+1]); double cur_to_prev_ratio = cur_body_size / prev_body_size; bool is_2x_bigger; if(cur_to_prev_ratio >=2)is_2x_bigger=true;
Ignored
hello
in the previos code why it's Close and not iClose ?!
  • Post #40,405
  • Quote
  • Oct 17, 2020 1:46pm Oct 17, 2020 1:46pm
  •  wcoutinho
  • | Joined May 2016 | Status: Member | 53 Posts
Quoting jeanlouie
Disliked
{quote} Couldn't see what you tried. You can have this, source attached so you can look inside. Variable sequence length and mininmum ratio, applies to consecutive candle types. {image}{file} {quote} Sources, in no particular order; - other people's code - code examples on mql4/5 - mql4/5 docs - googling and wading through results to find the one sentence that answers your issue
Ignored
hello Jean, yes the function is exactly that, however, I noticed that few signs are appearing, so I went to analyze the graph and saw this. Example in this image has these 2 entries where the arrow did not appear. I believe that the reason is the GAP of the candle. I already thank you for everything, for your time and willingness.
Attached Image (click to enlarge)
Click to Enlarge

Name: CONSECTIVE CANDLE RATIO.PNG
Size: 97 KB
  • Post #40,406
  • Quote
  • Oct 17, 2020 2:06pm Oct 17, 2020 2:06pm
  •  jeanlouie
  • Joined Dec 2010 | Status: Member | 723 Posts
Quoting solorik
Disliked
{quote} hello in the previos code why it's Close and not iClose ?!
Ignored
Well why not? Consider what they're for, if you're after the close value of some bar on the current chart, why use iClose(chart symbol, chart period, location) when you can use Close[location].

Quoting wcoutinho
Disliked
{quote} ... yes the function is exactly that, however, ...saw this. Example in this image has these 2 entries where the arrow did not appear. I believe that the reason is the GAP of the candle...
Ignored
Include settings used, a gap between candles shouldn't matter to measuing candle bodies.
Attached Image
Attached Image
  • Post #40,407
  • Quote
  • Oct 17, 2020 2:14pm Oct 17, 2020 2:14pm
  •  Motiram
  • Joined Nov 2014 | Status: Member | 546 Posts
Quoting BlueRain
Disliked
{quote} Here you have it - based on some other similar ones. Candle index is starting from 1 so if you put 5, it will draw at 5th candle including current bar. ( starting from right most candle) {image} {file}
Ignored
Superb! BlueRain, thank you very much for building an indicator as request I am so grateful to you for your assistance.

I have attached the image in which the some of candle numbers are hiding behind the candle is it due to market is off or please can you take a look.

Have a great weekend

Kind Regards,
Moti
Attached Image (click to enlarge)
Click to Enlarge

Name: EURUSDM30-Draw Candle High Low Lines.png
Size: 36 KB
  • Post #40,408
  • Quote
  • Oct 17, 2020 2:24pm Oct 17, 2020 2:24pm
  •  BlueRain
  • Joined Sep 2019 | Status: Member | 826 Posts
Quoting Motiram
Disliked
{quote} Superb! BlueRain, thank you very much for building an indicator as request I am so grateful to you for your assistance. I have attached the image in which the some of candle numbers are hiding behind the candle is it due to market is off or please can you take a look. Have a great weekend Kind Regards, Moti {image}
Ignored
Ok. I fixed and added extra space. Let me know still problem.
Attached File
File Type: mq4 Draw Candle High Low Lines.mq4   7 KB | 90 downloads
I still don't know where is the Holy Grail
1
  • Post #40,409
  • Quote
  • Oct 17, 2020 2:40pm Oct 17, 2020 2:40pm
  •  Motiram
  • Joined Nov 2014 | Status: Member | 546 Posts
Quoting BlueRain
Disliked
{quote} Ok. I fixed and added extra space. Let me know still problem. {file}
Ignored
Fantastic! BlueRain, adding the extra space has solved the candle numbers hiding issue.

I appreciate you prompt help and being with me.

Have a great weekend

Kind Regards,
Moti
Attached Image (click to enlarge)
Click to Enlarge

Name: EURUSDM30-Draw Candle High Low Lines1.png
Size: 36 KB
  • Post #40,410
  • Quote
  • Oct 17, 2020 2:42pm Oct 17, 2020 2:42pm
  •  MyProfit
  • | Joined Jan 2018 | Status: Member | 137 Posts
Please, somebody to remove the "extra" line in this indicator.. green arrow,,,

Thanks
Attached Image (click to enlarge)
Click to Enlarge

Name: habff.png
Size: 17 KB
Attached File
File Type: mq4 n4_tf_has_bar4.mq4   9 KB | 71 downloads
"Great Men are not born great, They Grow Great."
  • Post #40,411
  • Quote
  • Oct 17, 2020 2:59pm Oct 17, 2020 2:59pm
  •  BlueRain
  • Joined Sep 2019 | Status: Member | 826 Posts
Quoting MyProfit
Disliked
Please, somebody to remove the "extra" line in this indicator.. green arrow,,, Thanks {image}{file}
Ignored
Fixed.
Attached File
File Type: mq4 n4_tf_has_bar4.mq4   18 KB | 104 downloads
I still don't know where is the Holy Grail
  • Post #40,412
  • Quote
  • Oct 17, 2020 3:20pm Oct 17, 2020 3:20pm
  •  UKBanter
  • Joined Mar 2017 | Status: Member | 673 Posts
All the best fellas I coded my question myself.
Every day is a schoolday.
USD/JPY
  • Post #40,413
  • Quote
  • Oct 17, 2020 3:26pm Oct 17, 2020 3:26pm
  •  vinscal
  • | Joined Sep 2020 | Status: Junior Member | 4 Posts
Quoting vinscal
Disliked
Hi Bluerain Can you please help me in adding an feature of supertrend (atrperiod and multiplier changeable ) crossover in this attached vwap indicator with a big arrow &crossoverlabel with alert. supertrend crosses vwapdaily {image} Thanks {file} {file}
Ignored
Hi Bluerain

can you please help on this request vwap supertrend crossover
  • Post #40,414
  • Quote
  • Oct 17, 2020 3:57pm Oct 17, 2020 3:57pm
  •  Pett
  • | Joined Jan 2018 | Status: Member | 20 Posts
Quoting BlueRain
Disliked
{quote} Ok. I fixed and added extra space. Let me know still problem. {file}
Ignored
Hello BlueRain,

Any chance you have a moment to look at function I am having trouble with?

https://www.forexfactory.com/thread/...2#post13218732

I will really appreciate any assistance or insight you can provide even if its just a rough idea for a work around.

Thanks.
  • Post #40,415
  • Quote
  • Oct 17, 2020 4:00pm Oct 17, 2020 4:00pm
  •  pressium
  • | Joined Oct 2020 | Status: Member | 5 Posts
Quoting Hutch
Disliked
{quote} I posted my strategy in the post below but here is an addition to make trading easier. I especially like the reverse option. https://www.forexfactory.com/thread/...9#post13208039 {file} {image}
Ignored

Thanks Hutch!!!
  • Post #40,416
  • Quote
  • Oct 17, 2020 4:10pm Oct 17, 2020 4:10pm
  •  MyProfit
  • | Joined Jan 2018 | Status: Member | 137 Posts
Quoting BlueRain
Disliked
{quote} Fixed. {file}
Ignored
Thank You.. Sir
"Great Men are not born great, They Grow Great."
  • Post #40,417
  • Quote
  • Oct 17, 2020 5:59pm Oct 17, 2020 5:59pm
  •  Michael20201
  • | Joined Oct 2020 | Status: Junior Member | 2 Posts
Can anyone code my Brilliant reversal ex4 to Mt5
Attached File
File Type: ex4 1 Brilliant Reversals (2).ex4   7 KB | 152 downloads
  • Post #40,418
  • Quote
  • Oct 17, 2020 6:50pm Oct 17, 2020 6:50pm
  •  FX.PipEngine
  • | Joined Dec 2019 | Status: A.J.I. | 119 Posts
if you can use the rules in this excel to create an EA please message me
Attached File
File Type: xlsx Naldo Rules.xlsx   29 KB | 39 downloads
  • Post #40,419
  • Quote
  • Edited at 9:10pm Oct 17, 2020 8:32pm | Edited at 9:10pm
  •  afsarfx
  • | Joined Apr 2015 | Status: Member | 52 Posts
please can any one make this indicator 4 time frame bar
in snakeforse remove 2 and 3 colour keep only 0 and 1
Attached Files
File Type: mq4 snakeforce.mq4   6 KB | 62 downloads
File Type: mq4 Solar Wind.mq4   2 KB | 57 downloads
  • Post #40,420
  • Quote
  • Edited at 9:28pm Oct 17, 2020 9:02pm | Edited at 9:28pm
  •  BlueRain
  • Joined Sep 2019 | Status: Member | 826 Posts
Quoting Pett
Disliked
Hello all, I am trying to patch up a function for calculating the Kaufman's Adaptive Moving Average (KAMA). The goal is to get the value of KAMA for any symbol at any period based on a variable shift. double Kama(string symb, int _per, int kper, int kfast, int kslow, int shift) { //---- int arraySize = kper * kslow; double KAMA[]; ArrayResize(KAMA, arraySize); ArraySetAsSeries(KAMA,true); int counted_bars=IndicatorCounted(); int i = Bars - counted_bars; double fastest = 2 / (kfast + 1); double slowest = 2 / (kslow + 1); while(i>=0){ double er =...
Ignored
Just quick looking, you are setting arraysize to
ArraySize = kper * kslow;

Can you be sure that it has enough array size for whatever shift / index you are passing?

There are number of possible solutions:

1. Loop is Limited to smaller numbers
like
int limit = Bars - counted_bars;

if (limit > 500) limit = 500;


2. Set array size to fixed size of known.. like ArraySize(MAFA,


it might be better to set to a large array size like 10,000 or use total loop size as ArraySize(KAMA, Bars - counted_bars)

..

Key point is :
1. Make loop quick - limit the size of loop
2. Make array small enough to hold data but make sure it has enough size so it doesn't produce out of range.

You may want to add some kind of print to debug the progress and see where your bug sits.
I still don't know where is the Holy Grail
  • Platform Tech
  • /
  • I will code your EAs and Indicators for no charge
  • Reply to Thread
    • 1 20192020Page 202120222023 2167
    • 1 Page 2021 2167
6 traders viewing now, 1 is a member:
Slingshots1
  • 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