• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 5:49pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 5:49pm
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) 451 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,809
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 18931894Page 189518961897 2179
  • 1 Page 1895 2179
  •  
  • Post #37,881
  • Quote
  • Jul 23, 2020 5:52pm Jul 23, 2020 5:52pm
  •  spijack
  • Joined Mar 2015 | Status: Member | 439 Posts
good day/eve to our coder out there....
i would like to request making indicator of LWMA high and LWMA low...

as shown on the pic...
lines high/low of H4 and D1 has to show on lower TF...

ty in advance...

Attached Image (click to enlarge)
Click to Enlarge

Name: GBPUSDM30.png
Size: 40 KB
"Plan your trade, Trade your plan."
  • Post #37,882
  • Quote
  • Edited Jul 24, 2020 2:23am Jul 23, 2020 7:05pm | Edited Jul 24, 2020 2:23am
  •  Phylo
  • Joined Feb 2012 | Status: Member | 1,693 Posts
Quoting Jagg
Disliked
{quote} Had a few minutes and made an indicator with your sample code and added a considerDPI true/false input setting. Screenshot - buttons at top have considerDPI=false Screenshot - buttons at bottom have considerDPI=true Tested on my Laptop which has a DPIScaling factor of 1.3 int desktopScreenDPI = TerminalInfoInteger(TERMINAL_SCREEN_DPI); DPIScaling = desktopScreenDPI > 96.0 ? desktopScreenDPI / 96.0 : 1.0; {file} {image}
Ignored
Great
- looking good on all four corners
- all parameter adjustment working correctly

Tested on two screens -

  1. 4k: 4096 x 2160 - DPI: 144
  2. Full High Definition: 1920 x 1080 - DPI: 96

Excellent

Relevant DPI info

- See your Screen DPI: https://www.infobyip.com/detectmonitordpi.php
- Windows 10 DPI info: https://www.tenforums.com/tutorials/...dows-10-a.html

BTW:
- Here is the formatDouble code that places a comma at thousands, millions etc.
- It was given by mladen some years ago - thanks mladen for all the code through the years

Attached Image
Inserted Code
 void OnTick()
{
  // EQ
 
ObjectSetString(0,"EQButton",OBJPROP_TEXT, formatDouble(AccountEquity(),2));
Inserted Code
string formatDouble(double number,int precision,string pcomma=",",string ppoint=".")
{
  string snum     = DoubleToStr(number, precision);
  int    decp     = StringFind(snum, ".", 0);
  string sright   = StringSubstr(snum, decp + 1, precision);
  string sleft    = StringSubstr(snum, 0, decp);
  string formated = "";
  string comma    = "";
  while(StringLen(sleft)>3)
  {
    int    length = StringLen(sleft);
    string part   = StringSubstr(sleft, length - 3, 0);
    formated = part + comma + formated;
    comma    = pcomma;
    sleft    = StringSubstr(sleft, 0, length - 3);
  }
 
  if(sleft=="-") comma="";              // this line missing previously
  if(sleft!="")formated=sleft+comma+formated;
  if(precision>0)formated=formated+ppoint+sright;
  
  return(formated);
}
Above for MT4 - below for MT5 (MT5 looks identical code to MT4 but has a minor 1 character difference)
Inserted Code
string formatDouble_MT5(double number,int precision,string pcomma=",",string ppoint=".")
{
  string snum     = DoubleToString(number, precision);
  int    decp     = StringFind(snum, ".", 0);
  string sright   = StringSubstr(snum, decp + 1, precision);
  string sleft    = StringSubstr(snum, 0, decp);
  string formated = "";
  string comma    = "";
  while(StringLen(sleft)>3)
  {
    int    length = StringLen(sleft);
    string part   = StringSubstr(sleft, length - 3, 3);
    formated = part + comma + formated;
    comma    = pcomma;
    sleft    = StringSubstr(sleft, 0, length - 3);
  }
  if(sleft=="-") comma="";              // this line missing previously
  if(sleft!="") formated=sleft+comma+formated;
  if(precision>0) formated=formated+ppoint+sright;
 
  return(formated);
}
Posts are not necessary intended for you
2
  • Post #37,883
  • Quote
  • Jul 23, 2020 8:16pm Jul 23, 2020 8:16pm
  •  BanzaiFx
  • Joined Jun 2020 | Status: Member | 165 Posts
Quoting Jagg
Disliked
{quote} the author sets the color always in lines like this ObjectSetText("fb", " BUY LEVEL", FontSize, FontName, TextColor); When you set the color explicit after all these lines with e.g. ObjectSet("fb", OBJPROP_COLOR, TextColor); clrNONE should work.
Ignored
Thanks, it works.
Here's the new working version:
Attached Image
Attached File
File Type: mq4 FiboCalc button 1.02.mq4   34 KB | 152 downloads
1
  • Post #37,884
  • Quote
  • Jul 23, 2020 8:23pm Jul 23, 2020 8:23pm
  •  Tva
  • | Joined Jul 2019 | Status: Member | 14 Posts
Hi All,

I need help. Is that any possibilities to make this QQE line indicator displays at the main chart window instead of at separate window.
I've tried add this line "#property indicator_chart_window" but for some reason it's not working. Please assist.
Attached File
File Type: mq4 qqe_with_alertsy.mq4   14 KB | 61 downloads
  • Post #37,885
  • Quote
  • Jul 23, 2020 11:41pm Jul 23, 2020 11:41pm
  •  gargindia
  • | Joined Mar 2017 | Status: Member | 86 Posts
Resp. Coders/friends


Can someone help me to find.... non repainting MTF version of below indicator (TMA TRUE v2.1 5.2 KOLA) OR something similar indicator.
need help.......
Thanks

Attached File
File Type: ex4 TMA TRUE v2.1 5.2 KOLA.ex4   18 KB | 57 downloads

Attached Image (click to enlarge)
Click to Enlarge

Name: AUDUSDM15.png
Size: 35 KB
  • Post #37,886
  • Quote
  • Jul 24, 2020 12:33am Jul 24, 2020 12:33am
  •  Pett
  • | Joined Jan 2018 | Status: Member | 20 Posts
Quoting jeanlouie
Disliked
{quote} Because you have 5 separate binary conditions, any way you go about it you'll end up defining 2^5=32 combinations (not 5!=120). In terms of writing it out, I'd use a big nested if. This way you'll be creating a dicision tree, where only 1 condition is being checked at a time, eg this is a tree for half of the conditions, if condition_1 is true there'll be 16 outcomes. Instead of checking the ifs for 32 full combinations of conditions, it'll check 5 conditions to get to an answer. if(condition_1==true){ if(condition_2==true){ if(condition_3==true){...
Ignored
Jean,

This is exactly what I was looking for. Your approach is quite fluid and I expect the code to run much faster. Thank you very much for this!
  • Post #37,887
  • Quote
  • Jul 24, 2020 1:00am Jul 24, 2020 1:00am
  •  gibatrader
  • | Joined Apr 2018 | Status: Member | 10 Posts
Hello mntiwana

You can help me, these indicators do not load in the newest version in Metatrader 4. Can you please make them work.

Thank you very much.
Attached Image (click to enlarge)
Click to Enlarge

Name: box.jpg
Size: 116 KB
Attached Files
File Type: mq4 X TF 2009 (Angles) Plugin.mq4   43 KB | 91 downloads
File Type: mq4 X TF 2009 (Spheres) Plugin.mq4   11 KB | 82 downloads
File Type: mq4 X TF 2009 (TimeLine) Plugin.mq4   16 KB | 84 downloads
File Type: mq4 X TF 2009 v2.mq4   57 KB | 88 downloads
File Type: mq4 Xard TF 2009 v3.mq4   63 KB | 96 downloads
  • Post #37,888
  • Quote
  • Jul 24, 2020 2:12am Jul 24, 2020 2:12am
  •  dileepav80
  • | Joined Feb 2016 | Status: Member | 5 Posts
i have a similar EA working on my account. you can have a look at it by visiting link.
  • Post #37,889
  • Quote
  • Jul 24, 2020 2:29am Jul 24, 2020 2:29am
  •  fxpiplove
  • | Joined May 2019 | Status: Member | 29 Posts
Quoting jeanlouie
Disliked
{quote} Added option to show on all timeframes or current, default is all, option to set heights by pips and widths by no. candles, new object box with a 50% midline. PIc has the same box drawn from the 1H chart, shown on the 30M chart with same time width and pip height. {image} {file}
Ignored
Hello Jeanlouie, May I ask for one small favor? Is it possible to add a text indicating the height of rectngle (solid and empty) in number of PIPS below each rectangle when I use the attached indicator Color Levels 2 - 2? If I could choose the position of the PIPs text (such as below rectangle or above rectangle etc, it would be great. Also if I could control the settings of the font size and color of this text, it would be perfect. If the height of the rectangle is changed, the PIPs text should show the updated value. Will you please take a look when you get a chance? Thank you for your help!
Attached Image (click to enlarge)
Click to Enlarge

Name: PIPs below or above rectangle.jpg
Size: 206 KB
Attached File
File Type: mq4 Color Levels_2_-2.mq4   82 KB | 60 downloads
  • Post #37,890
  • Quote
  • Jul 24, 2020 3:02am Jul 24, 2020 3:02am
  •  lucky1359
  • Joined Nov 2018 | Status: Member | 647 Posts
Dear Coder, Good Morning

Can you please add x & Y value so indicator can be plotted anywhere in chart.

Have a Good Day

thanks & regards
Attached File
File Type: mq4 pipvalue.mq4   4 KB | 64 downloads
  • View Post
  • Hidden for breach of Trader Code of Conduct
  • nortron777
  • Post #37,892
  • Quote
  • Jul 24, 2020 3:42am Jul 24, 2020 3:42am
  •  jeanlouie
  • Joined Dec 2010 | Status: Member | 725 Posts
Quoting ffss
Disliked
...trying to write a pinescript indicator in mql4 ...what is happening from line 58 to 106 ...
Ignored
From what I can tell -

start-56
- setting defaults, defining base osc(oscillator) indicators
58-59
- checks if pivot h/l has been found
- "=> not na(pivotlow(_osc, lbL, lbR))"
- pivotlow() - returns a price if found, NaN if not found, for oscialltor osc, in range bars left to bars right (set in 11-12)
- na() - returns true if not a number
- if pivotlow has been found, it's a number, na() returns false, not true means pivot low was found (if na() is true, then pivotlow() was nan)
61-63
- do above for the bar range of min/max of lookback range (from line 11-12) and barssince(), bars since the condition was last true
- ie check for a new osc high/low, since the last osc high/low, (if the last was too far back, use the max range)
65-83
- defining divergence conditions and plotting if found;68-bullCond,73-bearCond,78-hiddenBullCond,83-hiddenBearCond
- for each diverenge condition, check the osc's last 2 highs/lows and compare to price at that h/l bar
- ie Regular Bullish = comments at end of lines 66-67; Higher Low on indicator && Lower Low on Price
- if something is found, mark that, 68-bullCond(_osc)=1 if conditions are met for a bullCond on osc, that osc bullCond is 1 or true
86-172
- tallying up divergence counts from every osc
- types - negdivergence,posdivergence,negdivergencehidden,posdivergencehidden
- for each type, if an osc is calculated (no error) and a the divergence condition is met, add 1 to that divergence count
- ie, 86-for type negdivergence, start at 0,87-if rsi is valid and has a bearCond, 88-add 1 to negdivergence
- repeat for all osc then all divergance types
174
- a small price offset used in plotting, ie plot something 5 times the minimum tick value
176-end
- for each type of divergence, if found, for a certain tally count, plot a label with the text in the line

General approach mql4:
- create timeseries arrays of the oscillators to have their values to read
- going from the past to the current time (left to right), mark the higher highs and lower lows, maybe use fractal approach (one top fractal to the next top fractal), and compare it to price at/between those bars
- define divergence conditions, ie if higher high on osc and lower low on price, divergence type from that osc+1
- ie for loop, from left most bar to live bar, if high is found, save that bar and value, look for a new high, save that bar and value, compare to price at those bars, if the later osc high is higher than its prev high, but the price high is not higher than its previous, that's some divergence condition met
- do for all osc's
- mark the tallies on the chart with text/arrows
  • Post #37,893
  • Quote
  • Jul 24, 2020 3:43am Jul 24, 2020 3:43am
  •  alpha001
  • | Joined Sep 2018 | Status: Member | 21 Posts
I have the attached EA running on many currency pairs in same account.

I would like to change the extern parameters from another single EA. Can you help with the EA code.
Attached File
File Type: ex4 tradingexpert.ex4   19 KB | 69 downloads
SS
  • Post #37,894
  • Quote
  • Jul 24, 2020 3:55am Jul 24, 2020 3:55am
  •  vendemilo
  • | Joined Sep 2015 | Status: Member | 37 Posts
hi mates, does anyone have a script that can send multiple orders at the same time on any pair may share please
  • Post #37,895
  • Quote
  • Jul 24, 2020 4:36am Jul 24, 2020 4:36am
  •  Phylo
  • Joined Feb 2012 | Status: Member | 1,693 Posts
Quoting gargindia
Disliked
Resp. Coders/friends Can someone help me to find.... non repainting MTF version of below indicator (TMA TRUE v2.1 5.2 KOLA) OR something similar indicator. need help....... Thanks {file} {image}
Ignored
May or may not meet requirements
Attached Image (click to enlarge)
Click to Enlarge

Name: Z-246.PNG
Size: 24 KB
Attached Image
Attached File
File Type: mq4 ssl_fast_channel_mtfalertsarrows mod - 1.mq4   9 KB | 82 downloads
Posts are not necessary intended for you
1
  • Post #37,896
  • Quote
  • Jul 24, 2020 5:49am Jul 24, 2020 5:49am
  •  Rubernet
  • Joined Sep 2015 | Status: Member | 286 Posts
Quoting Rubernet
Disliked
{quote} Thank you so much, absolute magic, my final request to please add the Beck's Emblem into the circle indicator you coded for me. https://youtu.be/X6wqigT3DSQ {image}
Ignored
Hi Jean

Just a gentle reminder on my request when you have time.
Trade Without Fear
  • Post #37,897
  • Quote
  • Jul 24, 2020 5:55am Jul 24, 2020 5:55am
  •  vendemilo
  • | Joined Sep 2015 | Status: Member | 37 Posts
Quoting vendemilo
Disliked
hi mates, does anyone have a script that can send multiple orders at the same time on any pair may share please
Ignored
i have seen what I was looking for, attached, very very useful, and this is the link on how to use it; https://www.mql5.com/en/code/18705
Attached File
File Type: zip 17322.zip   1 KB | 65 downloads
  • Post #37,898
  • Quote
  • Jul 24, 2020 6:14am Jul 24, 2020 6:14am
  •  mntiwana
  • Joined Mar 2013 | Status: Member | 1,602 Posts | Online Now
Quoting gibatrader
Disliked
Hello mntiwana You can help me, these indicators do not load in the newest version in Metatrader 4. Can you please make them work. Thank you very much. {file} {file} {file} {file} {file} {image}
Ignored
What a bundle package query
At first place those all needs "TimeFrameLib-v0.3.ex4" file to work
later i will see hundreds errors in every if time permit me
Indicator is just a supportive tool-Use it only if it can benefit you
2
  • Post #37,899
  • Quote
  • Jul 24, 2020 7:50am Jul 24, 2020 7:50am
  •  sagi
  • | Joined Jan 2017 | Status: Member | 132 Posts
can someone create an indicator/alert for when the price reaches a MA.
  • Post #37,900
  • Quote
  • Jul 24, 2020 7:58am Jul 24, 2020 7:58am
  •  sagi
  • | Joined Jan 2017 | Status: Member | 132 Posts
Quoting BanzaiFx
Disliked
{quote} Thanks, it works. Here's the new working version: {image} {file}
Ignored
Hi, I just saw your indicator, and placed it on a M15 chart, and it showed a trade, where the entry has already been. Could you please post something on this indicatora nd how to use it. Thank you in advance.
  • Platform Tech
  • /
  • I will code your EAs and Indicators for no charge
  • Reply to Thread
    • 1 18931894Page 189518961897 2179
    • 1 Page 1895 2179
11 traders viewing now, 2 are members:
mntiwana
,
Invisible
  • 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