• Home
  • Forums
  • News
  • Calendar
  • Coins
  • Market
  • Login
  • Join
  • User/Email: Password:
  • 5:13pm
Menu
  • Forums
  • News
  • Calendar
  • Coins
  • Market
  • Login
  • Join
  • 5:13pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Forex Factory

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

I will code your scalping EAs for no charge 43 replies

I will code your pivot EAs for no charge 19 replies

Need help to code EAs for MT4 and MT5 4 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
  • 40,250
Attachments: I will code your EAs and Indicators for no charge
Exit Attachments
Tags: I will code your EAs and Indicators for no charge
Cancel

I will code your EAs and Indicators for no charge

  • Last Post
  •  
  • 1 29072908Page 290929102911 2923
  • 1 Page 2909 2923
  •  
  • Post #58,161
  • Quote
  • Jan 21, 2023 2:16pm Jan 21, 2023 2:16pm
  •  jeanlouie
  • Joined Dec 2010 | Status: Member | 1,431 Posts
Quoting ntk
Disliked
{quote}...
Ignored
Quote
Disliked
still curve fitting
Because you're putting so much focus into a single day, and find it hard to believe how other days have poorer results, then yes.
 
 
  • Post #58,162
  • Quote
  • Jan 21, 2023 2:23pm Jan 21, 2023 2:23pm
  •  jeanlouie
  • Joined Dec 2010 | Status: Member | 1,431 Posts
Quoting MNTrader
Disliked
{quote} Hi jeanlouie thanks for doing that simple ma code. I was wondering if you could do the same for a fractal indicator. Fractal breakouts are my bread and butter. Thanks. {file}
Ignored
Ma filter added.
Attached Image (click to enlarge)
Click to Enlarge

Name: screenshot.png
Size: 1 KB
Attached File(s)
File Type: mq4 Fractals - Adjustable Period and Prices MT4 Indicator_mod.mq4   8 KB | 115 downloads
 
1
  • Post #58,163
  • Quote
  • Jan 21, 2023 2:26pm Jan 21, 2023 2:26pm
  •  MNTrader
  • | Joined Oct 2020 | Status: Member | 16 Posts
Quoting jeanlouie
Disliked
{quote} Ma filter added. {image} {file}
Ignored
Thanks jeanlouie.
 
 
  • Post #58,164
  • Quote
  • Jan 21, 2023 4:06pm Jan 21, 2023 4:06pm
  •  briancollins
  • | Joined Aug 2012 | Status: Member | 192 Posts
Quoting jeanlouie
Disliked
{quote} You need to show an example, it could be doing exactly what you're telling it to, but not what you expect.
Ignored
As you can see, it has already made a trade as the price breakthrough the Donchian indicator.

The only problem I have is that, when there is a spyke in a candle and it hits stoploss,
if the BAR is still forming, it will execute the trade regardless of the Position.

I want it to only execute trade at the HIGHEST_PRICE or LOWEST_PRICE of a Candle.

from the image, you can see multiple Buy trades executed DURING PRICE RETRACTION

I WANT IT TO BE EXECUTING ONLY on breakout of the highest price or lowest price of the bar.

I also attached the EA.
Attached Image (click to enlarge)
Click to Enlarge

Name: USDJPYM1.png
Size: 7 KB
Attached File(s)
File Type: mq4 DONCHIAN Save.mq4   38 KB | 84 downloads
 
 
  • Post #58,165
  • Quote
  • Jan 21, 2023 5:09pm Jan 21, 2023 5:09pm
  •  pips4life
  • Joined Apr 2007 | Status: Member | 874 Posts | Online Now
Quoting Uru
Disliked
Hello to all the good ones!! Happy New Years! I found this keypad, but the close all doesn't work, I was able to communicate with the owner, and he wishes me happy holidays! Is there a kind soul who wants to help me with this??? To the bad at heart! I wish you the best!!! Do not answer!!!; For the rest a hug!!{file}
Ignored
In case you're interested in a script that just does 'Close All Orders', but has options to distinguish between All_symbols vs. current symbol, and Open vs. Pending, and is actually FIFO compliant (necessary for U.S. brokers), I offer this: FIFO_CloseAll_Options.mq4
 
 
  • Post #58,166
  • Quote
  • Edited Jan 22, 2023 2:19pm Jan 21, 2023 6:37pm | Edited Jan 22, 2023 2:19pm
  •  jeanlouie
  • Joined Dec 2010 | Status: Member | 1,431 Posts
Quoting briancollins
Disliked
{quote} As you can see, it has already made a trade as the price breakthrough the Donchian indicator. The only problem I have is that, when there is a spyke in a candle and it hits stoploss, if the BAR is still forming, it will execute the trade regardless of the Position. I want it to only execute trade at the HIGHEST_PRICE or LOWEST_PRICE of a Candle. from the image, you can see multiple Buy trades executed DURING PRICE RETRACTION I WANT IT TO BE EXECUTING ONLY on breakout of the highest price or lowest price of the bar. I also attached the EA....
Ignored
- your code is all over the place, no one is going to go through it all, so how *about you debug it by keeping everything in 1 spot inside ontick, for a buy condition only, and slow down the tester to see whats happening, this should not be much more than if(buy_ordercount()==0 && close[0]==high[0])buy_neworder()
- also there is no enumerated day 7
 
1
  • Post #58,167
  • Quote
  • Jan 21, 2023 7:29pm Jan 21, 2023 7:29pm
  •  cja
  • Joined Feb 2007 | Status: Member | 1,894 Posts
Quoting Uru
Disliked
{quote} Cja: thanks for answering, yes, delete open orders, and you can also do it with close Buy, or Sell; when you use Buy or Sell Stop, or Buy Limit or Sell Limit, this is where it gets complicated, you have to delete it with the cursor, one by one, because Close All doesn't work, I only work with a pair (GBPUSD)
Ignored
Try this I added the Pending Close with ON/OFF Option in the inputs. Not tested as Markets closed.
Attached File(s)
File Type: mq4 Buttons EA v3.51 (1).mq4   144 KB | 100 downloads
Trade what you see not what you hope
 
4
  • Post #58,168
  • Quote
  • Jan 21, 2023 7:53pm Jan 21, 2023 7:53pm
  •  BorderT
  • | Additional Username | New Member | 3 Posts
Quoting zbig
Disliked
{quote} Hello, I took my time and added what you wanted to the code. Try it. {file}
Ignored
Hi zbig,
Thank you so much for your assistance, the upgraded code is perfect. I wish you all the best and a successful trading year.
Regards BorderT
 
 
  • Post #58,169
  • Quote
  • Jan 21, 2023 9:06pm Jan 21, 2023 9:06pm
  •  newhope
  • | Joined Mar 2018 | Status: Member | 118 Posts
Quoting jeanlouie
Disliked
{quote} {quote} Curve fitting to a single day is pointless. You can pick any day you want, and optimize a strategy in hindsight to trade it superbly, but it will be useless for any other day in the past or future. {quote} Because it has zero robustness. The setup you mention is an attempt at mean reversion, which is a solid principle, but even then the amount of inefficiency you can extract will be far below your expectations. US30, gold, gbpjpy, are also all very different instruments.
Ignored
Hi jeanLouie,

Below are 3 things i am still not clear, please explain more if you have time ..

*) what do you mean with zero robustness ?

*) for Gold as example, as the spread &digits for gold and forex are not same ... so what must we pay attention to gold ?

*) This Gbpjpy is forex, so it is the same as we take care of Eurusd for example ?

Thanks a lot in advance ...
 
 
  • Post #58,170
  • Quote
  • Jan 21, 2023 9:33pm Jan 21, 2023 9:33pm
  •  cja
  • Joined Feb 2007 | Status: Member | 1,894 Posts
Quoting newhope
Disliked
{quote} Hi jeanLouie, Below are 3 things i am still not clear, please explain more if you have time .. *) what do you mean with zero robustness ? *) for Gold as example, as the spread &digits for gold and forex are not same ... so what must we pay attention to gold ? *) This Gbpjpy is forex, so it is the same as we take care of Eurusd for example ? Thanks a lot in advance ...
Ignored
To have an EA work across a range of instruments like Gold/Forex/Indices etc using the MT4 Points code is not good enough you need to have a custom Points code that allows for all the differences otherwise the Stoploss and Takeprofit will have very different results with some being set too close to the current price causing a failure to enter trades.
Trade what you see not what you hope
 
2
  • Post #58,171
  • Quote
  • Jan 21, 2023 10:33pm Jan 21, 2023 10:33pm
  •  jeanlouie
  • Joined Dec 2010 | Status: Member | 1,431 Posts
Quoting newhope
Disliked
{quote} Hi jeanLouie, Below are 3 things i am still not clear, please explain more if you have time .. *) what do you mean with zero robustness ? *) for Gold as example, as the spread &digits for gold and forex are not same ... so what must we pay attention to gold ? *) This Gbpjpy is forex, so it is the same as we take care of Eurusd for example ? Thanks a lot in advance ...
Ignored
Quote
Disliked
what do you mean with zero robustness
An umbrella that only works on the second Tuesday of the month, at 2:30-2:35pm, if the previous day was sunny, is not very useful. Robustness means the ability to remain functional under varying adverse conditions without needing adjustment. eg ma crossover systems are fantastic in low directional volatility or trending periods, but near useless in any other environment that is not exactly that.

Quote
Disliked
for Gold as example, as the spread &digits for gold and forex are not same ... so what must we pay attention to gold ?
Sticky tape some paper over the instrument name and price scale, then ask yourself that question. Market axioms/truisms hold well across different instruments.

Quote
Disliked
Gbpjpy is forex, so it is the same as we take care of Eurusd for example ?
Given the spreads and average daily range of each, could you tell them apart? If so then even these two are different.
 
1
  • Post #58,172
  • Quote
  • Jan 22, 2023 12:26am Jan 22, 2023 12:26am
  •  Standov
  • | Joined Jun 2011 | Status: Member | 69 Posts
Hi jeanlouie,
can you also program mt5 indicators and EA's

Thanks
 
 
  • Post #58,173
  • Quote
  • Jan 22, 2023 3:40am Jan 22, 2023 3:40am
  •  Uru
  • | Joined Jan 2019 | Status: Member | 103 Posts
[quote=cja;14296605]{quote} Pruebe esto. Agregué el cierre pendiente con la opción ON/OFF en las entradas. No probado como Mercados cerrados. {archivo}[/cita]
Hello CJA: thank you very much, for your work, I was able to test it with eth/usd, the Buy and sell stop, and limit, they work with close all (button) excellent!, many, many thanks! (if you work with eth, you have to change the distance parameters) a hug!!
 
 
  • Post #58,174
  • Quote
  • Jan 22, 2023 3:57am Jan 22, 2023 3:57am
  •  Uru
  • | Joined Jan 2019 | Status: Member | 103 Posts
Quoting pips4life
Disliked
{quote} En caso de que esté interesado en un script que simplemente 'Cerrar todos los pedidos', pero tiene opciones para distinguir entre All_symbols vs. símbolo actual, y Open vs. Pendiente, y en realidad es FIFO compatible (necesario para los corredores estadounidenses), ofrezco esto: FIFO_CloseAll_Options.mq4
Ignored
Pips4life: thanks for your references and advice!, but Mr: Cja, he sent me what I needed, thank you very much for your interest in helping me!, a hug!
 
 
  • Post #58,175
  • Quote
  • Edited 6:31am Jan 22, 2023 6:20am | Edited 6:31am
  •  veter
  • | Joined Dec 2018 | Status: Member | 91 Posts
Please, can anyone add signal to this indicator on the fractal line breakout? Thank you in advance.
Attached File(s)
File Type: mq4 MTF_Fractal_V1.mq4   12 KB | 58 downloads
 
 
  • Post #58,176
  • Quote
  • Jan 22, 2023 7:37am Jan 22, 2023 7:37am
  •  oo7rai
  • | Joined Feb 2022 | Status: Member | 92 Posts
Quoting cja
Disliked
{quote} To have an EA work across a range of instruments like Gold/Forex/Indices etc using the MT4 Points code is not good enough you need to have a custom Points code that allows for all the differences otherwise the Stoploss and Takeprofit will have very different results with some being set too close to the current price causing a failure to enter trades.
Ignored
Hello CJA

can you please add one more (3rd) indicator's space for Direction feature to this EA? so trade entries would be in one direction only until direction does not change next.



https://www.forexfactory.com/thread/...7rai-unimas-ea?
Attached Image (click to enlarge)
Click to Enlarge

Name: screenshot.png
Size: 27 KB
 
 
  • Post #58,177
  • Quote
  • Jan 22, 2023 9:56am Jan 22, 2023 9:56am
  •  nomanm47
  • | Joined Feb 2021 | Status: Member | 43 Posts
Hi All respected coders

Quick question for the experienced heads - I am formulating a candlestick pattern indicator and trying to include a specific condition in the formula. Please can you let me know if the below is possible?

Easy Example = Bullish engulfing patterns is made up of 2 candles, but for the signal to be truly valid under my condition, I want to see "x" number of bearish candles before the bullish engulfing pattern happens. I want to be able to change this as per my preference depending on the time frame I am trading.

As per picture attached, I want to be able to select that we need 1 or 2 or 3 bearish candles before the pattern. So here If I selected 6 Candles then the signal should not appear.

Is something like this possible or do I have to select/fix the number of candles in the actual code?

If someone can kindly give a basic formula as to how we would achieve that, that would be superb.

Much appreciated
Attached Image (click to enlarge)
Click to Enlarge

Name: screenshot.png
Size: < 1 KB
 
1
  • Post #58,178
  • Quote
  • Jan 22, 2023 10:15am Jan 22, 2023 10:15am
  •  scadooshs
  • | New Member | Status: Junior Member | 1 Post
hi,
can you help me to create an EA that always open trade for buy/sell ?

the condition is,
if the current all buy closed, then open 1 new buy trade, after specific delay/time.

the input needed as below:

open type = (buy only / sell only / both)
lot = ()
-- open after closed --
hour = ()
minute = ()
second = ()

if there is similar EA created before, pls share it

thankyuuu
 
 
  • Post #58,179
  • Quote
  • Jan 22, 2023 11:40am Jan 22, 2023 11:40am
  •  Isabella_D
  • Joined Jan 2012 | Status: Member | 955 Posts | Online Now
For a long time I have been looking for an effective way of examining time and price in a fixed (or yet to be determined) time frame in order to be able to expect a possible development more realistically (statistically).

The time frame should be open selectable 00:00 - 23:59 for 6 sequences.
To do this, I segment the chart into 6 time blocks. I determine (different for the respective underlying) and document the values manually in excell.
This works quite well with the help of the below-mentioned authors Hanover, Jeanlouie and, as I just noticed, BlueRain.
With these indicators, the authors offer even more than is discussed here, which I also use with thanks.

I am concerned with the current request, how to do it graphically and documentary (statistics) better:
- Price observation HL --> box expectation overlapped by box real, (Hanover/Jeanlouie/BlueRain)
- Progress control Open-Cl red/green (BlueRain)
- Documentation (BlueRain/Hanover)
(The authors are put in brackets where I have (partially) found hints for the solution of the tasks).

I realize that my request is very complex and I really understand that this task is being put aside.
In any case, I'll stay tuned to the topic and maybe there are also building blocks on the way to a solution.

Sources
Hanover https://www.forexfactory.com/thread/...ines-indicator
Daily LinesBoxes(1).ex4

jeanlouie https://www.forexfactory.com/thread/...0#post13469820
Ruler_box_by_time.ex4

BlueRain https://www.forexfactory.com/thread/...1#post13194401
PipMoved HLOC mtf.mq4

Attached Image (click to enlarge)
Click to Enlarge

Name: TimeandPrice.png
Size: 40 KB
 
1
  • Post #58,180
  • Quote
  • Jan 22, 2023 1:56pm Jan 22, 2023 1:56pm
  •  briancollins
  • | Joined Aug 2012 | Status: Member | 192 Posts
Quoting jeanlouie
Disliked
{quote} - your code is all over the place, no one is going to go through it all, so how you debug it by keeping everything in 1 spot inside ontick, for a buy condition only, and slow down the tester to see whats happening, this should not be much more than if(buy_ordercount()==0 && close[0]==high[0])buy_neworder() - also there is no enumerated day 7
Ignored
Finally, it works...

Just waiting to test it live tomorrow...

Thank you so, much...
You deserve all d good things mate.
 
 
  • Platform Tech
  • /
  • I will code your EAs and Indicators for no charge
  • Reply to Thread
    • 1 29072908Page 290929102911 2923
    • 1 Page 2909 2923
12 traders viewing now, 3 are members:
McTrader96
,
classy
,
erex
  • More
Top of Page
  • Facebook
  • Twitter
About CC
  • Mission
  • Products
  • User Guide
  • Blog
  • Contact
CC Products
  • Forums
  • Calendar
  • News
  • Coins
  • Market
CC Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow CC
  • Facebook
  • Twitter

CC Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Forex Factory

Crypto Craft® is a brand of Fair Economy, Inc.

Terms of Service / ©2023