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

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Printable Version

Similar Threads

Coding robots and indicators in C# for no charge (cTrader API) 181 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

Need help to code EAs for MT4 and MT5 2 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 30,277
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 20212022Page 202320242025 2216
  • 1 Page 2023 2216
  •  
  • Post #40,441
  • Quote
  • Oct 18, 2020 2:38pm Oct 18, 2020 2:38pm
  •  Peretola
  • | Joined Jan 2009 | Status: Member | 72 Posts
Hello dear coders,

I was wondering whether it is possible to create a script or indicator which allows the user by clicking a button to show the 7 charts, all at once, belonging to specific currency. Let me explain further; let's imagine that we have 8 buttons on an empty chart, each one representing a different currency.

Something like this:

Attached Image

When you click on one of those buttons, the script or the indicator should be able to open the 7 charts belonging to that currency, being able to choose the desired Template and Time Frame. Let's imagine that we click on the GBP button, the next action would be to show us something similar to this:

Attached Image (click to enlarge)
Click to Enlarge

Name: Siete pares abiertos.png
Size: 35 KB

Thank you guys!
  • Post #40,442
  • Quote
  • Oct 18, 2020 2:51pm Oct 18, 2020 2:51pm
  •  BlueRain
  • Joined Sep 2019 | Status: Member | 828 Posts
Quoting Motiram
Disliked
{quote} BlueRain, so nice of you taking a time and building a new indicator as per my request and so quick I am very gratefully to you, I have a question can it is possible to limit the input for back bars in the both indicators please I like the option to make time print format full or simple in the indicator "Draw Candle Times.mq4" Kind Regards Moti
Ignored
Added barlimit - default is 500
Attached Files
File Type: mq4 Draw Candle Numbers.mq4   2 KB | 83 downloads
File Type: mq4 Draw Candle Times.mq4   3 KB | 75 downloads
I still don't know where is the Holy Grail
2
  • Post #40,443
  • Quote
  • Oct 18, 2020 2:56pm Oct 18, 2020 2:56pm
  •  mntiwana
  • Joined Mar 2013 | Status: Member | 1,676 Posts
Quoting Michael20201
Disliked
{quote} Can anyone turn this ex4 to ex5
Ignored
"AdvancedFractals"
"AdvancedFractals mod"

Attached Image (click to enlarge)
Click to Enlarge

Name: NSDQ100-DE20M15.png
Size: 28 KB
Attached Files
File Type: ex5 AdvancedFractals.ex5   18 KB | 84 downloads
File Type: ex5 AdvancedFractals mod.ex5   18 KB | 80 downloads
Indicator is just a supportive tool-Use it only if it can benefit you
1
  • Post #40,444
  • Quote
  • Oct 18, 2020 3:29pm Oct 18, 2020 3:29pm
  •  Motiram
  • Joined Nov 2014 | Status: Member | 546 Posts
Quoting BlueRain
Disliked
{quote} Added barlimit - default is 500 {file} {file}
Ignored
Wow BlueRain, it is amazing!

I heartily appreciate your quick support and BlueRain; I like your work, every thing is working like magic.

Good luck to you.

Kind Regards
Moti
  • Post #40,445
  • Quote
  • Oct 18, 2020 3:51pm Oct 18, 2020 3:51pm
  •  Idonotgiveup
  • | Joined Sep 2020 | Status: Member | 12 Posts
Can anyone put an alarm on this indicator when the arrows appear - For MT5? Thank you
Attached File
File Type: mq5 Reverse No Repair.mq5   4 KB | 65 downloads
  • Post #40,446
  • Quote
  • Oct 18, 2020 4:49pm Oct 18, 2020 4:49pm
  •  T4Trade
  • Joined Sep 2017 | Status: Trend Following,Price Action,Marti | 1,631 Posts
Dear Bluerain,
please add push notification on this indicator you just coded for motiram,thanks a lot!
Attached File
File Type: mq4 Draw Candle High Low Lines.mq4   7 KB | 103 downloads
  • Post #40,447
  • Quote
  • Oct 18, 2020 5:05pm Oct 18, 2020 5:05pm
  •  BlueRain
  • Joined Sep 2019 | Status: Member | 828 Posts
Quoting T4Trade
Disliked
Dear Bluerain, please add push notification on this indicator you just coded for motiram,thanks a lot! {file}
Ignored
Push notification of what? it is just high/low of candle.. and it only update once at candle change time.
I still don't know where is the Holy Grail
  • Post #40,448
  • Quote
  • Oct 18, 2020 6:13pm Oct 18, 2020 6:13pm
  •  T4Trade
  • Joined Sep 2017 | Status: Trend Following,Price Action,Marti | 1,631 Posts
Quoting BlueRain
Disliked
{quote} Push notification of what? it is just high/low of candle.. and it only update once at candle change time.
Ignored
i m not interstedin time,when the PA crosses the line,push notification can appear on phone,thnks
  • Post #40,449
  • Quote
  • Oct 18, 2020 9:17pm Oct 18, 2020 9:17pm
  •  romeo000
  • | Joined Oct 2020 | Status: Member | 12 Posts | Online Now
Quoting romeo000
Disliked
Coders & Programmers ,Attention Please! I need a program or an EA with following requirements, i hope you guys can help me and many others also as this program will also be of their help of that i am sure. It will mainly serve as a scanner for all 28 pairs and in my opinion it should be a program to work properly! Okay so first of all i need it to read data from 3 different indicators of MT4 let me post the screenshots and details of those indicators! First indicator tells me about trend reversals and pullbacks (it repaints) {image} Indicator...
Ignored
Please reply to this post of mine
  • Post #40,450
  • Quote
  • Oct 18, 2020 11:02pm Oct 18, 2020 11:02pm
  •  BlueRain
  • Joined Sep 2019 | Status: Member | 828 Posts
Quoting T4Trade
Disliked
{quote} i m not interstedin time,when the PA crosses the line,push notification can appear on phone,thnks
Ignored
I don't think it is a good idea to add more feature to this simple utility.
Util should be as simple as it can be - typically one goal - just draw H/L.
I still don't know where is the Holy Grail
1
  • Post #40,451
  • Quote
  • Edited at 1:33am Oct 19, 2020 12:15am | Edited at 1:33am
  •  genuine007
  • | Joined Sep 2020 | Status: Member | 107 Posts
is it possible to edit this indicator?
I want to have everything like this (as shown in the image below) in 1 indicator (if possible) otherwise 2 different indicators for Week & Month. I will not mind.
Please reply...

EDIT : I really don't have any idea how we will gonna use this in our trading, but if we made this indicator. this will definitely help in some wayy
Attached Image (click to enlarge)
Click to Enlarge

Name: Indicator Properties.jpg
Size: 126 KB
Attached File
File Type: mq4 3 Days Rolling Pivots.mq4   4 KB | 56 downloads
  • Post #40,452
  • Quote
  • Oct 19, 2020 1:35am Oct 19, 2020 1:35am
  •  justgopal65
  • | Joined Aug 2015 | Status: Member | 16 Posts
Quoting mrtools
Disliked
{quote} Try this one. {file} {image}
Ignored

Hello Mr Tools

Is there a possibility to make a histogram of i_sadukey v3 mod alerts, which was created by your goodself.

Thank you
GK
  • Post #40,453
  • Quote
  • Edited at 4:04am Oct 19, 2020 2:54am | Edited at 4:04am
  •  Aleksei711
  • | Joined Apr 2020 | Status: Member | 5 Posts
Quoting Aleksei711
Disliked
{quote} Hi guys, I've been using this handy Candle Color indicator for MT5. What it does is recolor candles at specified times. I typically trade the first and last candle of the pre-open, session open, and post-session-open hours, so I use this indicator to highlight those candles for easier identification. Does anybody have this for MT4? I've attached a screenshot of how it looks, the Gold candlesticks are where the indicator has been applied {image}
Ignored
I figured I would not get a response on this cause it appears lazy to ask for freebies. So I took a stab at developing this indicator for MT4. The indicator is supposed to color the first and last candle of each session hour (London/NY - pre-session open hour, session open, and post-session open hour). Currently I'm testing the code for the London session, it compiles but does not paint the chart.

Can an expert please review my code and suggest changes?
PS: I'm a novice, I do not have any development experience, but a few internet resources last night got me where I am now.

Inserted Code
//+------------------------------------------------------------------+
//|                                       Candlestick_confirmation.mq4 |
//|                                                         Aleksei711 |
//|                                    www.forexfactory.com/Aleksei711 |
//+------------------------------------------------------------------+
#property copyright "Aleksei711"
#property link      "www.forexfactory.com/Aleksei"
//----
#property indicator_chart_window
#property indicator_buffers 4
#property indicator_color1 LimeGreen
#property indicator_color2 OrangeRed
#property indicator_color3 LimeGreen
#property indicator_color4 OrangeRed
extern bool NY=true;
extern bool London=true;
extern int NYOpenDataTime=14;      
extern int LondonOpenDataTime=9;
//---- buffers
double ExtMapBuffer1[];
double ExtMapBuffer2[];
double ExtMapBuffer3[];
double ExtMapBuffer4[];
//----
int ExtCountedBars=0;
extern int BarsToCount=1000;
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
//---- indicators
   SetIndexStyle(0,DRAW_HISTOGRAM,0,1,LimeGreen);
   SetIndexBuffer(0,ExtMapBuffer1);
   SetIndexStyle(1,DRAW_HISTOGRAM,0,1,OrangeRed);
   SetIndexBuffer(1,ExtMapBuffer2);
   SetIndexStyle(2,DRAW_HISTOGRAM,0,2,LimeGreen);
   SetIndexBuffer(2,ExtMapBuffer3);
   SetIndexStyle(3,DRAW_HISTOGRAM,0,2,OrangeRed);
   SetIndexBuffer(3,ExtMapBuffer4);
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custor indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
  {
 
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
  {
 
 int bars_count=BarsToCount,i,h,m;
 bool drawvl;
 
 if(Bars<=10) return(0);
   ExtCountedBars=IndicatorCounted();
//---- check for possible errors
   if (ExtCountedBars<0) return(-1);
//---- last counted bar will be recounted
   if (ExtCountedBars>0) ExtCountedBars--;
   int pos=Bars-ExtCountedBars-1;
//----  
   while(pos>=0)
     {
         drawvl=false;
         h=TimeHour(Time[i]);
         m=TimeMinute(Time[i]);
        
         if (London==true)
            {
               if ((h==LondonOpenDataTime) && (m==0))
               {
                  drawvl=true;  ExtMapBuffer1[pos]=High[pos];
                  ExtMapBuffer2[pos]=Low[pos];
                  if (Open[pos]>=Close[pos])
                  { ExtMapBuffer3[pos]=Open[pos]; ExtMapBuffer4[pos]=Close[pos]; }
                  else // if (Open[pos]<=Close[pos])
                  { ExtMapBuffer3[pos]=Close[pos]; ExtMapBuffer4[pos]=Open[pos]; };
               }
              
               else
              {
               ExtMapBuffer1[pos]=EMPTY_VALUE;
               ExtMapBuffer2[pos]=EMPTY_VALUE;
               ExtMapBuffer3[pos]=EMPTY_VALUE;
               ExtMapBuffer4[pos]=EMPTY_VALUE;
              }
            }    
      pos--;
     }
//----
   return(0);
  }
//+------------------------------------------------------------------+
  • Post #40,454
  • Quote
  • Oct 19, 2020 3:43am Oct 19, 2020 3:43am
  •  cgninvesting
  • | Joined Mar 2020 | Status: Member | 50 Posts
Quoting Pett
Disliked
{quote} If that's the case then here you go. {file}Now whichever time frame you select for the 200 ema will also be automatically selected for the high TF candle. Please review the attached file and compare the changes made to the previous one. You can only learn by doing. {quote} The functions for MACD and CCI return true if the filters are turned off. They also return true when the buy or sell filter conditions are met. So the criteria is that as long as the MACD/CCI have returned true and the MACD/CCI signal IS NOT (note the "!=" which is not...
Ignored
Thank you so much Pett,

I'll compare the code and learn from it!

Best,
CGN
  • Post #40,455
  • Quote
  • Oct 19, 2020 4:00am Oct 19, 2020 4:00am
  •  chartistpro
  • | Joined Apr 2014 | Status: Member | 8 Posts
Dear coder ..Could you alter this indicator ..the candle count from day start..first candle is1.2..3...4 ( based on selected time frame)

thank you
Attached File
File Type: mq4 Draw Candle Numbers.mq4   2 KB | 51 downloads
  • Post #40,456
  • Quote
  • Oct 19, 2020 4:34am Oct 19, 2020 4:34am
  •  genuine007
  • | Joined Sep 2020 | Status: Member | 107 Posts
Quoting genuine007
Disliked
is it possible to edit this indicator? I want to have everything like this (as shown in the image below) in 1 indicator (if possible) otherwise 2 different indicators for Week & Month. I will not mind. Please reply... EDIT : I really don't have any idea how we will gonna use this in our trading, but if we made this indicator. this will definitely help in some wayy {image} {file}
Ignored
its sad that nobody helping me with this indicator ,
there are many coders and experts here who have lots of knowledge but none of them is coming ahead
for telling how this indicator is workinggg.. how this indicator is used in our trading
nor they care about telling or giving clarification that this indicator can be edited or not..
atleast they can give some reply or say anything.. but no
  • Post #40,457
  • Quote
  • Oct 19, 2020 5:05am Oct 19, 2020 5:05am
  •  Aleksei711
  • | Joined Apr 2020 | Status: Member | 5 Posts
Quoting Aleksei711
Disliked
{quote} I figured I would not get a response on this cause it appears lazy to ask for freebies. So I took a stab at developing this indicator for MT4. The indicator is supposed to color the first and last candle of each session hour (London/NY - pre-session open hour, session open, and post-session open hour). Currently I'm testing the code for the London session, it compiles but does not paint the chart. Can an expert please review my code and suggest changes? PS: I'm a novice, I do not have any development experience, but a few internet resources...
Ignored
I figured it out, thanks!
  • Post #40,458
  • Quote
  • Oct 19, 2020 5:07am Oct 19, 2020 5:07am
  •  Aleksei711
  • | Joined Apr 2020 | Status: Member | 5 Posts
Quoting romeo000
Disliked
Coders & Programmers ,Attention Please! I need a program or an EA with following requirements, i hope you guys can help me and many others also as this program will also be of their help of that i am sure. It will mainly serve as a scanner for all 28 pairs and in my opinion it should be a program to work properly! Okay so first of all i need it to read data from 3 different indicators of MT4 let me post the screenshots and details of those indicators! First indicator tells me about trend reversals and pullbacks (it repaints) {image} Indicator...
Ignored
Must the indicators align on the same bar, or within the last 5, 10, 15 bars etc?
  • Post #40,459
  • Quote
  • Oct 19, 2020 5:10am Oct 19, 2020 5:10am
  •  Leviticus83
  • Joined Jan 2019 | Status: Member | 162 Posts
Quoting LifeHunt3r
Disliked
Dear Coders, Paradox was kind enough to code this basket chart indicator which I use to trade baskets and indexes. It has a built-in HAS indicator for the basket chart. Can someone please be kind enough to add an alert when the HAS changes colour (when HAS changes value from positive to negative and vice versa)? Please, if possible an option for an alert on current candle vs. closed candle. Much appreciated and many thanks Lee {file}
Ignored
Dear Coders,

I am referencing LifeHunt3r's post with an attachment of BasketChart and am addressing this request to those who are advanced in coding and can look into the problem.

No, I'm not asking for alerts as Lee asked, although it was quite easy to make it for own needs (except I did not yet managed how to make them pop up not twice per second, but more rare, say every new candle etc.) Nevermind, it's not the main issue with BasketChart that I am experiencing.

What am I requesting? As far as I understand the code of this indi as an amateur, there seem to be wrong calculation of the ATR value, namely a bug, which is in line 437-441:

Inserted Code
   double sum;
   for (int i = 0; i < ATRPeriod; i++)                                
   {        
      sum = sum + HighBuffer[i] - LowBuffer[i];
   }

Then the value sum is used in BasketChart's label in line 461-462 to give the user so called ATR value on label with text:

Inserted Code
DoubleToStr(sum/ATRPeriod/10,1)

The issue with the above provided lines of code is that it is not the exact way to calculate the ATR of the basket pairs, at best it calculates the range of every candle for the selected period and nothing more. It is in no way an ATR value.

Unfortunately the OHLC prices in the BasketChart are derived not from the every pair separately, but from the total of OHLC prices of every pair that constitute the BasketChart with respect to its weight (-1 or 1):

Inserted Code
      open = open + (iOpen(symbol,Period(),offset)/tickSize - 100000) * WeightVals[index];
      high = high + (iHigh(symbol,Period(),offset)/tickSize - 100000) * WeightVals[index];
      low = low + (iLow(symbol,Period(),offset)/tickSize - 100000) * WeightVals[index];
      close = close + (iClose(symbol,Period(),offset)/tickSize - 100000) * WeightVals[index];

So my conclusion as far as I understand is that we cannot use the iATR function to calculate the overall ATR of Basket pairs. Or can we?

Is there a way to adapt/add to code the mt4 built-in iATR function as it is done with calculating the OHLC buffers using the iOpen, iHigh, iLow, iClose?

Or

Can it be done using the source formula of calculating the ATR value such as:
Inserted Code
ATR[i] = ATR[i-1] + ( TR[i] - TR[i-n] ) / n; // n is the ATR period
???

Please give an advice to this problem or even solution. Sadly, this indi is undervalued whereas its AUD to USD indexes are almost exact representation of MATAF currency indexes which makes it powerful tool both for analysis and automated trading of indexes too. Thank you in advance!
1
  • Post #40,460
  • Quote
  • Oct 19, 2020 5:35am Oct 19, 2020 5:35am
  •  BlueRain
  • Joined Sep 2019 | Status: Member | 828 Posts
Quoting bdunn
Disliked
Hi All: I trying to create a very simple Histogram indicator that simply plot the value of Current Volume multiply with Current Typical Price. I have zero knowledge of programming. I guess I did something wrong on the coding but I can't find any good example for correcting the codes. Can someone take a look on the attached mql4 file and shed some light, or, help me out how to code it correctly? {file} Many many thanks in advance! With Respect to All Helpers, Bill P/S: Not in discussion on Volume issue on decentralized forex trading
Ignored
Here is demo version that should work for you as sample.
Please use as reference and you can fix yours.

You can modify where you calculate MA to get typical_price.
I just used period of 1 to get typical price MA.

Or you can calcurate yourself like Typical price = (high + low + close)/3

basically, you have to have two buffers - one for red and one for green.
now, check vol * typical price for privious bar and current bar.
if current bar is bigger -> store in Buffer 1 ( green )
if current bar is smaller -> store in Buffer 2 ( red )

that is it.
Attached File
File Type: mq4 Volume x Typical Price BR demo.mq4   5 KB | 81 downloads
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 20212022Page 202320242025 2216
    • 1 Page 2023 2216
22 traders viewing now, 6 are members:
Overmars
,
buffalo
,
nickvh1
,
kathirvel
,
gravour
,
pollylin576
  • 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