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

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

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

Need help to code EAs for MT4 and MT5 2 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 35,955
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 972973Page 974975976 2618
  • 1 Page 974 2618
  •  
  • Post #19,461
  • Quote
  • Jun 13, 2017 2:20pm Jun 13, 2017 2:20pm
  •  mrmataraci
  • | Joined Jun 2017 | Status: Member | 4 Posts
Quoting Phylo
Disliked
{quote} specific predetermined level -> Points from Target Price = 0 or is within so many pips -> Points from Target Price > 0 Push Notifications and Email are not available for -> Alert frequency = Repeat - every tick To clear ~ Repeat - every tick alerts ~ set Target Price = 0 or Reset No alerts are available if both Target Price = 0; {image}For quick reset use{image} {file}
Ignored

Hello Phylo,

Could you please give more detail. I didn't understand how it will be used. For example if I have a target price of 1.50 and I want to buy and I want to have an alert 25 points above the target price; how I will fill in the blanks

Thank you
 
 
  • Post #19,462
  • Quote
  • Edited at 5:58pm Jun 13, 2017 3:40pm | Edited at 5:58pm
  •  Phylo
  • Joined Feb 2012 | Status: Member | 1,725 Posts
Quoting mrmataraci
Disliked
{quote} Hello Phylo, Could you please give more detail. I didn't understand how it will be used. For example if I have a target price of 1.50 and I want to buy and I want to have an alert 25 points above the target price; how I will fill in the blanks Thank you
Ignored
Trader A:

  1. The current USDJPY (UJ) price is 109.970.
  2. Trader A wants to be alerted when current price = 110.370.
  3. Because the target price is above current price the trader sets -> Ask above Target Price = 110.370.
  4. The trader sets -> Points from Target Price = 0.
  5. A green line is drawn at 110.370.
  6. When current price reaches 110.370 the selected alerts will be activated

Trader B:

  1. The current USDJPY (UJ) price is 109.970.
  2. Trader B wants to be alerted when current price is 50 points from (under) a target price = 110.370.
  3. Because the target price is above current price the trader sets -> Ask above Target Price = 110.370.
  4. The trader sets -> Points from Target Price = 50.
  5. A green line is drawn at 110.370.
  6. When current price reaches 110.320 (110.370 - 50 points) the selected alerts will be activated.

Trader C:

  1. The current USDJPY (UJ) price is 109.970.
  2. Trader C wants to be alerted when current price = 109.470.
  3. Because the target price is below current price the trader sets -> Bid below Target Price = 109.470.
  4. The trader sets -> Points from Target Price = 0.
  5. A red line is drawn at 109.470.
  6. When current price reaches 109.470 the selected alerts will be activated

Trader D:

  1. The current USDJPY (UJ) price is 109.970.
  2. Trader D wants to be alerted when current price is 50 points from (above) a target price = 109.470.
  3. Because the target price is below current price the trader sets -> Bid below Target Price = 109.470.
  4. The trader sets -> Points from Target Price = 50.
  5. A red line is drawn at 109.470.
  6. When current price reaches 109.520 (109.470 + 50 points) the selected alerts will be activated.

Comment: on reflection regarding your post -

Input options

  1. Ask above Target Price
  2. Bid below Target Price

are confusing nonsense and should be

  1. Target Price above Ask
  2. Target Price below Bid

will update accordingly - Thanks for posting

Attached File
File Type: ex4 Target_Price_Alerts_v1.1.ex4   14 KB | 214 downloads
 
 
  • Post #19,463
  • Quote
  • Jun 13, 2017 5:30pm Jun 13, 2017 5:30pm
  •  mrmataraci
  • | Joined Jun 2017 | Status: Member | 4 Posts
It is very clear now,

Thanks
 
 
  • Post #19,464
  • Quote
  • Edited Jun 14, 2017 4:21am Jun 13, 2017 6:54pm | Edited Jun 14, 2017 4:21am
  •  hanover
  • Joined Sep 2006 | Status: ... | 8,081 Posts
Quoting asp123
Disliked
if you have this kind of indicator which write .csv of all 28 pairs OHLCV with input tf in all in one .csv ,,,
Ignored
Latest version of the original indy (by 'original' I mean without djarum11's modifications) is attached. Offered on an 'as is' basis. I can't guarantee that it will fix the slowness or execution failure problems, especially if you insist on running it on 28 pairs. However, you could try changing the RefreshPeriod to something like M1 or M5, so that output occurs only once per minute, or once every 5 minutes, instead of on each new tick. That is the best I can do, given that I do all of my coding using the old build 509 MetaEditor/compiler (hence there's no point in my posting the MQ4 file, it will compile with errors). If the attached doesn't work satisfactorily, you'll need to find a different indicator.

The parameter settings work as follows:

CurrencyPairs
Enter the list of symbols you want output, separated by commas. Upper or lowercase is interchangeable. You can use abbreviations, e.g. EU or eu for EURUSD (A=AUD, C=CAD, E=EUR, F=CHF, G=GBP, J=JPY, N=NZD, U=USD). If you leave the field blank, the current chart's symbol is used as the default.

TimeFrames
Enter the list of timeframes (TFs), separated by commas: e.g. M1, M5, M15, M30, H1, H4, D1, W1, MN1
If you leave the field blank, the current chart's TF is used as the default.

OutputFilename
All output goes to your .../MT4/Files folder.
 If you want output from multiple symbols/TFs to go to the same file, you must enter the OutputFilename.
 If you leave this blank, the indy will generate a different output file for each symbol/TF.
 If you type a single forwardslash or backslash into the field, the indy will additionally create a separate subfolder for each TF.

DescendingDateTimeOrder
If true, the latest OHLCV values appear at the start of each file
If false, the earliest OHLCV values appear at the start of each file

OutputHeaderLine
The text you want to appear on your header line, at the start of each output file. If you blank out the field, no hears will be output.
If output for multiple symbols/TFs is going to the same file, you'll probably want to set this to something like
Symbol,TF,Date,Time,Open,High,Low,Close,Volume
because the symbol and timeframe get output (prepended) to the start of each line.

FieldSeparator
The separator character you want to appear between each field output. Default is comma (,)
If you type a caret (^) symbol, the indy will use a tab (\x09) as the separator (might be handy if output is to be later imported into Excel)

EncloseValuesInQuotes
If true, each field will be enclosed in double quotes, e.g. "12345","67890"
If false, then no double quotes, e.g. 12345,67890

DateTimeFormat
The mask that will be used to format all DateTime fields. For more info, see the DateToStr() section here.

PriceFormat
PriceFormatJPYpairs
VolumeFormat
The mask that will be used to format all non-JPY price, JPY price and Volume, fields respectively. For more info, see the NumberToStr() section here.

RefreshPeriod
This controls how often the files are to be output (overwritten) with fresh data:
+0 means on the first price tick of a new candle on the current chart
+1 means on the first price tick of a new candle on the next higher TF
+2 means on the first price tick of a new candle two TFs higher
-1 means on the first price tick of a new candle on the next lower TF
etc; or
T means on every new price tick
I means perform once only, i.e. on init()
M1 means on the first price tick of the each new M1 candle
M5 means on the first price tick of the each new M5 candle
etc
Attached File
File Type: ex4 Output History.ex4   32 KB | 185 downloads
 
1
  • Post #19,465
  • Quote
  • Jun 13, 2017 7:01pm Jun 13, 2017 7:01pm
  •  Roddo
  • | Joined Jul 2009 | Status: Member | 53 Posts
Hello,

This maybe a little bit off topic but I am looking for an indicator that will give reliable signals.
I have tried many indicators in many configurations over this past year and it seems that they all give the same misleading results, all they indicate
is that the market is about to change direction, but what direction.

Any ideas would be welcomed, Please reply.

Roddo
 
 
  • Post #19,466
  • Quote
  • Jun 13, 2017 11:55pm Jun 13, 2017 11:55pm
  •  shrips
  • | Joined Dec 2015 | Status: Member | 225 Posts
Quoting Phylo
Disliked
{quote} specific predetermined level -> Points from Target Price = 0 or is within so many pips -> Points from Target Price > 0 Push Notifications and Email are not available for -> Alert frequency = Repeat - every tick To clear ~ Repeat - every tick alerts ~ set Target Price = 0 or Reset No alerts are available if both Target Price = 0; {image}For quick reset use{image} {file}
Ignored

Thank you Phylo
 
 
  • Post #19,467
  • Quote
  • Jun 14, 2017 1:56am Jun 14, 2017 1:56am
  •  onojiwizard
  • | Joined Dec 2011 | Status: As above, So below | 42 Posts
I need help coding a custom indicator
 
 
  • Post #19,468
  • Quote
  • Jun 14, 2017 3:58am Jun 14, 2017 3:58am
  •  Fallinggator
  • | Joined Jun 2017 | Status: Junior Member | 1 Post
I have never tried to code in MQL, but I have some limited coding experience. I'd like to learn eventually, but right now what I would really like is help with what, I think, is a rather simple task. I would like to be able to have a trailing stop initiated once a certain profit point is reached in either pips or $. I'm not sure if I would need a separate piece of code for both buy and sell orders...or if it would perhaps make it easier. An example would be if I were to purchase a cross at $1.0000, and it were to rise to $1.0020. Then upon reaching $1.0020 a trailing stop would be initiated in the amount of X dollars or pips. If I used a 5 pip trailing stop, and it rose to $1.0027 before falling again; then the trade would close upon reaching $1.0022. This would defer from a normal trailing stop in that the stop would not go active until the predetermined point had already been reached. For example if the cross rose from $1.0000 to $1.0010, and then fell to $1.0005; then the trade would continue without a trailing stop being activated.

Much appreciated for any replies. This seems like it should be about as basic as it gets if then programming, but I don't know the limitations or nuances of this language. Hopefully someone who does can help me. I think this would help me fine tune my exits a lot. That's basically how I exit now, but instead of doing so automatically I have to manually trigger the effect. Sorry if my example is overly obvious. I've just seen too many forum questions answered with further questions that the original poster thought was implied.
 
 
  • Post #19,469
  • Quote
  • Jun 14, 2017 4:39am Jun 14, 2017 4:39am
  •  Forexer07
  • | Joined Apr 2017 | Status: Junior Member | 2 Posts
Hello
I need mql4 code for trailing stop that starts from fixed (ex:350 points) profit. with a distance of (ex:150 points) and steps with (ex:25 points)
 
 
  • Post #19,470
  • Quote
  • Jun 14, 2017 5:45am Jun 14, 2017 5:45am
  •  Phylo
  • Joined Feb 2012 | Status: Member | 1,725 Posts
Quoting Fallinggator
Disliked
I have never tried to code in MQL, but I have some limited coding experience. I'd like to learn eventually, but right now what I would really like is help with what, I think, is a rather simple task. I would like to be able to have a trailing stop initiated once a certain profit point is reached in either pips or $. I'm not sure if I would need a separate piece of code for both buy and sell orders...or if it would perhaps make it easier. An example would be if I were to purchase a cross at $1.0000, and it were to rise to $1.0020. Then upon reaching...
Ignored
May meet requirements - https://www.mql5.com/en/code/16136

Click view to review code or download for use and/or inspection/ edit in MetaEditor.
 
 
  • Post #19,471
  • Quote
  • Jun 14, 2017 6:04am Jun 14, 2017 6:04am
  •  trionetinc
  • | Joined Oct 2015 | Status: Member | 17 Posts
If any coder can help me out, I would be really thankful. If anyone can add mobile push notification alert to this MACD indicator...
Attached File
File Type: mq4 MACD_Alert_ColorHist.mq4   11 KB | 202 downloads
 
 
  • Post #19,472
  • Quote
  • Jun 14, 2017 6:09am Jun 14, 2017 6:09am
  •  breakthru56
  • | Joined Oct 2012 | Status: Member | 96 Posts
Quoting hanover
Disliked
{quote} The i-Regr or COG indicators, with the poly degree set to 1, will plot a (linear) SD channel. You could apply the indy multiple times, with different SD values, to get a similar effect to that shown in your screenshot. I've attached the 'Polynomial Regression' indicator to my chart with PolyDegree=1 and StDevs set to 1, 0.618 and 0.382, respectively, to get the result shown in my screenshot.{image} {file}
Ignored
Hanover

You are a great man.

Thank you so much, God bless you.
 
 
  • Post #19,473
  • Quote
  • Jun 14, 2017 6:17am Jun 14, 2017 6:17am
  •  Forexer07
  • | Joined Apr 2017 | Status: Junior Member | 2 Posts
Quoting Phylo
Disliked
{quote} May meet requirements - https://www.mql5.com/en/code/16136 Click view to review code or download for use and/or inspection/ edit in MetaEditor.
Ignored
thank you Phylo
not exactly what I want but it will give me an idea
 
 
  • Post #19,474
  • Quote
  • Edited at 8:41pm Jun 14, 2017 6:35am | Edited at 8:41pm
  •  ramzam
  • Joined Nov 2015 | Status: Member | 2,926 Posts
please great coding person help on this

kindly share mq4 file with me then only i can find where i did mistake
Attached Image (click to enlarge)
Click to Enlarge

Name: Screenshot1.png
Size: 12 KB
Attached File
File Type: mq4 INBar.mq4   13 KB | 308 downloads
Success is a Journey Not a Destination....... kind regards ramzam
 
 
  • Post #19,475
  • Quote
  • Jun 14, 2017 9:43am Jun 14, 2017 9:43am
  •  DemandSupply
  • Joined Jul 2016 | Status: Member | 215 Posts
Quoting Phylo
Disliked
{quote} The linked indicator includes PRICE CROSSING MA. Read lower post for clarification. https://www.forexfactory.com/showthr...94#post9753994 https://www.forexfactory.com/showthr...97#post9765697
Ignored
Hi Phylo,

Sorry to be bothering you again. I did as suggested by you in the posts that you had referred to. However, I still am unable to get a popup alert when the arrow appears after the indicator has been attached to the charts.

You may please look into this and guide me.

Edit: I have used the ** b ** option for a popup alert wherein I get the arrow on the chart and sound but no popup... even though the correct option has been input.

Thanks and Regards
 
 
  • Post #19,476
  • Quote
  • Jun 14, 2017 10:48am Jun 14, 2017 10:48am
  •  wifiguy
  • | Joined Jun 2013 | Status: Member | 65 Posts
Thank you Phylo for your quick response.
Unfortunately that article and indicator doesn't help. That indicator often doesn't put an arrow on the chart when there is a ma cross.
The indicator I have is perfect (I don't use alerts) except for on rising price action only it always shows a down arrow which repeats every candle. It does not do this on a falling price action.
I need to have the faster ma with a shift of -1 and that seems to be the problem, if I set the shift to 0 it all works just like any other ma cross indicator.

Attached Image (click to enlarge)
Click to Enlarge

Name: EURUSDH4.png
Size: 42 KB

Attached Image (click to enlarge)
Click to Enlarge

Name: EURJPYH4.png
Size: 60 KB


Is it possible for anyone to change the code for this indicator to stop this from happening. I have spent days trying but I'm not a coder so I have had no success.

Attached File
File Type: mq4 MA_Shift_Crossover_Alert.mq4   8 KB | 400 downloads
 
 
  • Post #19,477
  • Quote
  • Edited Jun 15, 2017 9:50am Jun 14, 2017 11:08am | Edited Jun 15, 2017 9:50am
  •  Phylo
  • Joined Feb 2012 | Status: Member | 1,725 Posts
Quoting DemandSupply
Disliked
{quote} Hi Phylo, Sorry to be bothering you again. I did as suggested by you in the posts that you had referred to. However, I still am unable to get a popup alert when the arrow appears after the indicator has been attached to the charts. You may please look into this and guide me. Edit: I have used the ** b ** option for a popup alert wherein I get the arrow on the chart and sound but no popup... even though the correct option has been input. Thanks and Regards
Ignored
I have downloaded the file from Post 18, 452 - https://www.forexfactory.com/showthr...94#post9753994

So that we are on the same page please check if we refer to the same file.

There is no b selection in the inputs. (I assume you are referring to the corresponding code)

The three Inputs selections are - > Off / PopUp / Sound only

Here is my test with selection -> PopUp
Attached Image


The above corresponds to 'b' selection in the code.

If you have edited the code then the fault is with the edit.

If you have not edited the code then it should work as proven above.

The only thing I can think of trying is the following (logically should not make difference, but one never knows until tried..)

Change this (line 26)
Inserted Code
input pos posx = a; // Select: PopUp or Sound only
To this
Inserted Code
input pos posx = 0; // Select: PopUp or Sound only
Attached Image
Attached Image
Attached Image

Then from the Inputs select -> PopUp and test.
 
 
  • Post #19,478
  • Quote
  • Edited at 11:33am Jun 14, 2017 11:08am | Edited at 11:33am
  •  asp123
  • | Joined Apr 2017 | Status: Member | 30 Posts
Quoting hanover
Disliked
{quote} Latest version of the original indy (by 'original' I mean without djarum11's modifications) is attached. Offered on an 'as is' basis. I can't guarantee that it will fix the slowness or execution failure problems, especially if you insist on running it on 28 pairs. However, you could try changing the RefreshPeriod to something like M1 or M5, so that output occurs only once per minute, or once every 5 minutes, instead of on each new tick. That is the best I can do, given that I do all of my coding using the old build 509 MetaEditor/compiler...
Ignored
Thank u very much, sir...you made my day.....Great
i checked it and found,,
Not Responding msg, but
it worked after taking 10 to 15 sec. and creates output file which exactly i want...it's ok.
Error is that it seems (not refreshing) not overwriting .csv file after +15 ,which is our set Refresh period..
could you plese plese plese fixed that error or bug for me ..it will really help a lot for me. i am really very sorry for giving you more trouble
i appolgize for that.

Regards,
Attached Images
 
 
  • Post #19,479
  • Quote
  • Edited at 11:50am Jun 14, 2017 11:18am | Edited at 11:50am
  •  Phylo
  • Joined Feb 2012 | Status: Member | 1,725 Posts
Quoting trionetinc
Disliked
If any coder can help me out, I would be really thankful. If anyone can add mobile push notification alert to this MACD indicator... {file}
Ignored
Attached Image
Attached File
File Type: ex4 MACD_Alert_ColorHist - Mod - 1.ex4   30 KB | 207 downloads
 
 
  • Post #19,480
  • Quote
  • Jun 14, 2017 1:10pm Jun 14, 2017 1:10pm
  •  btoz82
  • | Joined Jun 2017 | Status: Junior Member | 1 Post
Hi,
A bit off topic, but hopefully Im in the right place. I have several MT4 terminals trading at the same time and am trying to export RTD (Account Balance, Profit etc) from each terminal to Excel so I can monitor in one place. I know that Pepperstone and some other brokers provide this as an EA but they are unfortunately not my broker. And as I think DDE only allows Quote, Bid, Time etc to be exported, not account data.
Does anyone have an idea how to do this?
Cheers
bt
 
 
  • Platform Tech
  • /
  • I will code your EAs and Indicators for no charge
  • Reply to Thread
    • 1 972973Page 974975976 2618
    • 1 Page 974 2618
9 traders viewing now, 2 are members:
Tr.Sau
,
shinewel
  • More
Top of Page
Forex Factory Blog Updated: Alerting All Members
  • 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