• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 1:38am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 1:38am
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 54 replies

I will code your pivot EAs for no charge 20 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
  • 41,040
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 28422843Page 284428452846 2982
  • 1 Page 2844 2982
  •  
  • Post #56,861
  • Quote
  • Nov 28, 2022 12:44pm Nov 28, 2022 12:44pm
  •  aslam239087
  • | Joined Jul 2022 | Status: Member | 40 Posts
Hi,
I want such an indicator which should show Total combined lot size of all the opened orders on chart in MT4.
Please make such an indicator which can do this task. I have zero knowledge about coding. I will be very thankful to you.
 
 
  • Post #56,862
  • Quote
  • Nov 28, 2022 12:46pm Nov 28, 2022 12:46pm
  •  veter
  • | Joined Dec 2018 | Status: Member | 131 Posts
Quoting BestTraderEv
Disliked
{quote} Button added! {file}
Ignored
Thank you very much!!! You are the Best of the Best!!!!!!!!! God bless you!
 
 
  • Post #56,863
  • Quote
  • Nov 28, 2022 1:59pm Nov 28, 2022 1:59pm
  •  VikThor1
  • | Joined Nov 2021 | Status: Member | 74 Posts
Quoting BestTraderEv
Disliked
{quote} You will only need one, just change the IndiID for the second instance. {file}
Ignored
Sorry but I don't understand you.
I attached both indi on the chart and I only see signs from one of them.
If I attach the 'normal' on the chart, it shows HH LL etc.
But when I attach the second one, the first indi signs disapper. Only the line stay.
Do you mean I can use them in an EA? So just call the same indi again but with another timeframe?
My idea is to attach both in the EA and one of them has bigger values so it's a htf confirmation. But when I can't see them on the chart I don't know if the EA will read them.
Or when I use this code, just change both "0" to a "PERIOD" ?
Inserted Code
      name1 = "statusLabel"+TimeToString(Time[highindex]);
      if( ObjectFind(0,name1) == 0 && ObjectGetString(0,name1,OBJPROP_TEXT) == "HH" )
         {
          buysignal = true;
         }
Or call indi again and change zeroes to some PERIOD?
 
 
  • Post #56,864
  • Quote
  • Edited 2:49pm Nov 28, 2022 2:15pm | Edited 2:49pm
  •  BestTraderEv
  • Joined Mar 2022 | Status: Member | 1,355 Posts
Quoting VikThor1
Disliked
{quote} Sorry but I don't understand you. I attached both indi on the chart and I only see signs from one of them. If I attach the 'normal' on the chart, it shows HH LL etc. But when I attach the second one, the first indi signs disapper. Only the line stay. Do you mean I can use them in an EA? So just call the same indi again but with another timeframe? My idea is to attach both in the EA and one of them has bigger values so it's a htf confirmation. But when I can't see them on the chart I don't know if the EA will read them. Or when I use this...
Ignored
This indicator uses two methods of plotting:
1. The ZZ Lines are buffer lines,
2. The HH, LL, HL, LH labels are drawing objects.

1. The buffer part is not sensitive to any names, so this part will be plotted independantly from 2 instances of the indicator, or any number of it on one chart.
2. The objects are name sensitive, so in order for those to be plotted independantly, they need to have different names in each of the instances of the indicator. That's the role of IndiID, to change their names. If they will have the same names, they will simply overwrite and we will only see one set of those labels.

Look into the code I gave you, you will see what I added.
The HH, LL, HL, LH are not object names, only their texts.
I did IndiID+"statusLabel" - so you need to be consistent in the EA.

It seems like you totally don't understand what you are doing!
It works like this:
You put this indicator on the chart, because you need to find the objects which plot the HH, LL, HL, LH labels.
You find them by their names.
You find them in a loop, so that's why you first define the names of the objects:
name1 = "statusLabel"+TimeToString(Time[highindex]);
If you want to use two instances of this indicator, you need to assign different names for those objects.
It would be a good idea if the InID was a code for the Tf you are using, or period.
So, if you are going to have 2 sets of these labels, you need to search them independantly.

You said that you made a copy of this indicator.
And I am saying that now you don't need a copy, you can use one copy in two instances.
You must give each instance a different IndiID - which mean the objects names will have this ID.
 
1
  • Post #56,865
  • Quote
  • Nov 28, 2022 2:31pm Nov 28, 2022 2:31pm
  •  BOGAT
  • | Joined Mar 2006 | Status: Member | 7 Posts
Quoting BOGAT
Hello, is it possible to make enable push and eMail alerts based on CLOSED CANDLE and colour change. Input triger would be just name of the colour, one for sell and one for buy. Based on BIONICS attached indicator, Results; First scenario - Triger(Blue) for = Msg(Sell), Nameofsecurity(), DateTime() Secon scenario - Triger(Yellow) for = Msg(Buy), Nameofsecurity(), DateTime() i have found just this part of code, maybe it can help you: ... if Open[2]<Close[2] // is 'up' bar, e.g. 'blue' else // is down bar, e.g. 'red' ... if Open[1]<Close[1] // is...


Do you have the mq4 file?
If not, nothing can be done, because this indicator doesn't even output any buffer data.

Sorry I dont˙t have mq4 file, I now that this can be best solution.
Is there any other way to recognize this colours of candelstic?

Franc
 
 
  • Post #56,866
  • Quote
  • Nov 28, 2022 2:33pm Nov 28, 2022 2:33pm
  •  aslam239087
  • | Joined Jul 2022 | Status: Member | 40 Posts
Hi,
I need such an indicator which should tell total no. of place able orders with respect to defined lot size in "one click trading panel".
Example:
Let's say I have account balance 100 USD and Margin per lot of 20 USD. And if i select lot size of 0.01 in "one click trading panel" then it should show this Total Place able Orders: 5
Same if i select lot size of 0.02 then it should show this Total Place able Orders: 2
Thank you so much
 
 
  • Post #56,867
  • Quote
  • Edited 2:48pm Nov 28, 2022 2:36pm | Edited 2:48pm
  •  VikThor1
  • | Joined Nov 2021 | Status: Member | 74 Posts
Quoting BestTraderEv
Disliked
{quote} This indicator uses two methods of plotting: 1. The ZZ Lines are buffer lines, 2. The HH, LL, HL, LH labels are drawing objects. 1. The buffer part is not sensitive to any names, so this part will be plotted independantly from 2 instances of the indicator, or any number of it on one chart. 2. The objects are name sensitive, so in order for those to be plotted independantly, they need to have different names in each of the instances of the indicator. That's the role of IndiID, to change their names. If they will have the same names, they...
Ignored
Ohh OK I got it!
So call both indi, but the ObjectFind will get an extra 'HTF' and I can call signs from 'bigger timeframes'.
Thank you very much!

Edit: it works very well!
 
1
  • Post #56,868
  • Quote
  • Nov 28, 2022 2:40pm Nov 28, 2022 2:40pm
  •  flockofpips
  • | Joined Dec 2019 | Status: Member | 41 Posts
Quoting Metatrader
Disliked
Hey Guys, i want to learn and improve my MQL4 skills. I think the best way to do this is to practice. Unfortunately sometimes I don`t have any nice idea which i can implement in a Expert Advisor / Indicator. So if any of you is interested, please post in this forum your ideas and i will try to implement it into mql4. Andi
Ignored
Can you help me code indicator with the strategy below

Alert large spread with a small volume
Alert small spread with a big volume
 
 
  • Post #56,869
  • Quote
  • Nov 28, 2022 2:53pm Nov 28, 2022 2:53pm
  •  VikThor1
  • | Joined Nov 2021 | Status: Member | 74 Posts
Best, I have an indi which draws zones on the chart. With your help I can get values from that indi. But this indi draw millions of zones.
The problem is, if I'd like to call the nearest "0UPZONE1" price, sometimes I got the price of the 10th or 21th, because they have '1' in their name.
So can you make this indi to not draw zones more than 5 or 9?
I always use only the nearest zone, because it's a higher timeframe confirmation.
If it's hard or time consuming, do you have any other idea the call only the real '1' zones price?
Attached File(s)
File Type: mq4 II_SupDem_15m.mq4   61 KB | 60 downloads
 
 
  • Post #56,870
  • Quote
  • Nov 28, 2022 3:13pm Nov 28, 2022 3:13pm
  •  BestTraderEv
  • Joined Mar 2022 | Status: Member | 1,355 Posts
Quoting BOGAT
Disliked
Sorry I dont˙t have mq4 file, I now that this can be best solution. Is there any other way to recognize this colours of candelstic? Franc
Ignored
No, that is the problem.
I already said - there are no visible buffers, so the code is bilnd, can not see this indicator.
 
 
  • Post #56,871
  • Quote
  • Nov 28, 2022 3:22pm Nov 28, 2022 3:22pm
  •  BestTraderEv
  • Joined Mar 2022 | Status: Member | 1,355 Posts
Quoting VikThor1
Disliked
Best, I have an indi which draws zones on the chart. With your help I can get values from that indi. But this indi draw millions of zones. The problem is, if I'd like to call the nearest "0UPZONE1" price, sometimes I got the price of the 10th or 21th, because they have '1' in their name. So can you make this indi to not draw zones more than 5 or 9? I always use only the nearest zone, because it's a higher timeframe confirmation. If it's hard or time consuming, do you have any other idea the call only the real '1' zones price? {file}
Ignored
No they don't. Each zone is numbered: UPZONE1, UPZONE2, etc, plus they have colors. And the "0" in front means current chart, or if you have a specific Tf assigned, this will be the Tf number.
Attached Image (click to enlarge)
Click to Enlarge

Name: 2022-11-28_212139.jpg
Size: 106 KB

You will need to use this: https://docs.mql4.com/strings/stringsubstr
 
 
  • Post #56,872
  • Quote
  • Nov 28, 2022 3:45pm Nov 28, 2022 3:45pm
  •  jeanlouie
  • Joined Dec 2010 | Status: Member | 1,496 Posts
Quoting BestTraderEv
Disliked
{quote} No, that is the problem. I already said - there are no visible buffers, so the code is bilnd, can not see this indicator.
Ignored
If the indicator has anything in the colors tab, then it uses buffers. If the buffers aren't shown in the data window, that just means they were set to not show there. You can still access it's buffer values via icustom.
 
1
  • Post #56,873
  • Quote
  • Nov 28, 2022 3:54pm Nov 28, 2022 3:54pm
  •  VikThor1
  • | Joined Nov 2021 | Status: Member | 74 Posts
Quoting BestTraderEv
Disliked
{quote} No they don't. Each zone is numbered: UPZONE1, UPZONE2, etc, plus they have colors. And the "0" in front means current chart, or if you have a specific Tf assigned, this will be the Tf number. {image} You will need to use this: https://docs.mql4.com/strings/stringsubstr
Ignored
Then can you tell me, why does this not work? At 'sellTP' and 'buyTP' I only call the first 15m zone.

Inserted Code
if(StringFind(_name,"15DNZONE1",0)>0)
But my values are far away.
Even my 'HTFDem' and 'HTFSup' values are not correct too but they got color check. If I find those boxes their label include '10' or '21' that's why I wrote that in my last post.
Attached Image (click to enlarge)
Click to Enlarge

Name: Képernyőkép 2022-11-28 214839.jpg
Size: 67 KB
Attached File(s)
File Type: mq4 ShvedEA.mq4   7 KB | 37 downloads
 
 
  • Post #56,874
  • Quote
  • Edited 4:31pm Nov 28, 2022 4:13pm | Edited 4:31pm
  •  BestTraderEv
  • Joined Mar 2022 | Status: Member | 1,355 Posts
Quoting VikThor1
Disliked
{quote} Then can you tell me, why does this not work? At 'sellTP' and 'buyTP' I only call the first 15m zone. if(StringFind(_name,"15DNZONE1",0)>0) But my values are far away. Even my 'HTFDem' and 'HTFSup' values are not correct too but they got color check. If I find those boxes their label include '10' or '21' that's why I wrote that in my last post. {image} {file}
Ignored
Because I told you, you need https://docs.mql4.com/strings/stringsubstr
Because there are many rectangles with that string, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, all have that string.
So you need more than just StringFind. You need to be more specific!
That's why you need this: https://docs.mql4.com/strings/stringsubstr
 
1
  • Post #56,875
  • Quote
  • Nov 28, 2022 4:32pm Nov 28, 2022 4:32pm
  •  ntk
  • Joined Dec 2018 | Status: Member | 1,227 Posts
Quoting jeanlouie
Disliked
{quote} Engulfing period is the number of bars engulfed, should be more than 0. Project lines is the number of bars to extend the upper and lower lines if over 0, 0 is no extension. All candles same is whether all candles engulfed and the engulfing candle are all bulls or bears.
Ignored
thank you Jeanlouie
 
 
  • Post #56,876
  • Quote
  • Nov 28, 2022 5:48pm Nov 28, 2022 5:48pm
  •  VikThor1
  • | Joined Nov 2021 | Status: Member | 74 Posts
Quoting BestTraderEv
Disliked
{quote} Because I told you, you need https://docs.mql4.com/strings/stringsubstr Because there are many rectangles with that string, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, all have that string. So you need more than just StringFind. You need to be more specific! That's why you need this: https://docs.mql4.com/strings/stringsubstr
Ignored
Finally I find that in my language and give it a try. Now I don't get any values.
I made a string global variable
Inserted Code
string htfdemand = "15DNZONE1";
And tried that way, but the only value I got is the basic '99999' or '0' values.
Inserted Code
string _name=ObjectName(_chart,i);
string zone=StringSubstr(_name,10,9);
if(StringFind(_name,zone,0) == htfdemand )
My object name is 9 character long, so the last '9' in StringSubstr mean that.
The whole objname is : "aII_SupDem15DNZONE1" so I start that at 10
I don't find any other options, how to get the correct box/zone.
 
 
  • Post #56,877
  • Quote
  • Nov 28, 2022 6:01pm Nov 28, 2022 6:01pm
  •  BestTraderEv
  • Joined Mar 2022 | Status: Member | 1,355 Posts
Quoting VikThor1
Disliked
{quote} Finally I find that in my language and give it a try. Now I don't get any values. I made a string global variable string htfdemand = "15DNZONE1"; And tried that way, but the only value I got is the basic '99999' or '0' values. string _name=ObjectName(_chart,i); string zone=StringSubstr(_name,10,9); if(StringFind(_name,zone,0) == htfdemand ) My object name is 9 character long, so the last '9' in StringSubstr mean that. The whole objname is : "aII_SupDem15DNZONE1" so I start that at 10 I don't find any other options, how to get the correct...
Ignored
No, no, no....
You are still looking for StringFind, not the StringSubstr.
You just did exactly the same thing as before.
You need to look for the substring in the object name.
In this: ObjectName(_chart,i)

Inserted Code
string _name=ObjectName(_chart,i);
if(StringSubstr(_name,9,9) == htfdemand )
 
1
  • Post #56,878
  • Quote
  • Nov 28, 2022 7:45pm Nov 28, 2022 7:45pm
  •  Saifshabsug
  • | Joined Aug 2019 | Status: Junior Member | 1 Post
Dear Dev's

can anyone help me please ?
i have a script MQL4 when i run it take screenshot of chart and send it to telegram via API
i want to make it EA with specific hour input to make it run on specific hour in the day and work automatic daily

Regards
 
 
  • Post #56,879
  • Quote
  • Nov 28, 2022 8:08pm Nov 28, 2022 8:08pm
  •  akndid
  • | Joined Sep 2022 | Status: Member | 72 Posts
anyone can share this indicator and the setting like in the picture..

(I can't find this indicator anywhere)


please help

here is the picture

https://c.mql5.com/forextsd/forum/97/tma_lwma.gif
 
 
  • Post #56,880
  • Quote
  • Nov 28, 2022 8:43pm Nov 28, 2022 8:43pm
  •  frank1972
  • | Joined Mar 2019 | Status: Member | 55 Posts
Quoting doerpn
Disliked
Hello traders, have a big problem...which probably a lot of you have too: on my chart there are several indis and tools. To get a better overview I run charts of all instruments I want to trade at once. Depending on the indis loaded the screen freezes...very frustrating! {image} Now my question: Is there a tool, indicator or something else to measure how many % of the working memory consumes each of the attached indicators ? With this information I am able to eliminate the big one memory overeater and find another...
Ignored
Hi Doerpn, I do not know of any indicator that can do that. But there are certain things I learnt while trying to find a solution. These are the things I learnt:

1) Indicator Loop - Sometimes, the indicator may be poorly written and falling through an infinite loop. Thus the indicator is constantly running, therefore using memory.
Solution: I am not a programmer so I do not know how to identify those indicators but when you load it, you will notice it significantly reduces your MT4 speed or even hang MT4. Remove them and use an equivalent indicator that does the same job but uses less resources.

2) Indicators pulling too many bars - If the indicator is set to show past 100k bars in history, it is going to use lots of memory to run it.
Solution: Set a reasonable number of bars in history.

3) Max bars in history and Max bars in chart - Setting too high will slow down MT4
Solution: Set a reasonable number of bars.

Hope you find a solution to your problem.
 
 
  • Platform Tech
  • /
  • I will code your EAs and Indicators for no charge
  • Reply to Thread
    • 1 28422843Page 284428452846 2982
    • 1 Page 2844 2982
22 traders viewing now, 1 is a member:
desoed
  • 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 / ©2023