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

Options

Search
Search
Search

Bookmark Thread

First Page First Unread Last Page Last Post

Printable Version

Similar Threads

Fixing Your Indicators or EAs (Free) 346 replies

Coding robots and indicators in C# for no charge (cTrader API) 144 replies

EAs and indicators relating to moutaki... 22 replies

InterbankFX has loaded its MT4 platform with custom EAs, indicators and scripts 1 reply

Oanda MT4 - Indicators and EAs not showing 0 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 20,802
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 14271428Page 142914301431 1588
  • 1 Page 1429 1588
  •  
  • Post #28,561
  • Quote
  • Edited Apr 2, 2019 7:32am Apr 1, 2019 8:48pm | Edited Apr 2, 2019 7:32am
  •  Phylo
  • Joined Feb 2012 | Status: Member | 1,331 Posts
Quoting hibra68
Disliked
Can anyone attach push alerts to the following indicators? The turtle channel shows where the price is in relation to the trend. The classic turtle gives buy sell signals along with exit signals in conjuction with the turtle channel indicator. So I guess i just need push alerts for the classic turtle indicator when it prints an arrow indicating a new sell/buy. I have example on a chart how it looks. Thanks in advance. {file} {file} {image}
Ignored
To interested - if no response - try this.

  1. I don't have time to add separate push Alerts - I don't have time for testing - typing is quick.
  2. However, should be able - in this instance, but not always - to convert the popup alerts code to push alerts. After editing the popup Alert will be Push.

  1. Open indicator in MetatEditor.
  2. [Save as] new name to differentiate about to be edited indicator from original indicator.
  3. After [Save As] the new named indicator will be in the editor and the original indicator will have dropped out. The original indicator will still be on file via Navigator panel if needed.
  4. Change - 4 instances - of the code word 'Alert' to 'SendNotification'.
  5. Delete 'Alert' and Type 'SendN' - the code should auto complete to 'SendNotification'

Before:

Inserted Code
 // Alerts
     if(TimeStamp != Time[0] && DisplayAlerts == true)
     {
         // Exit signals
         if(LongInfo[1] == OUT_OF_MARKET && LongInfo[2] == IN_THE_MARKET && AlertCount == 0)
         {
            Alert("[Classic Turtle Trader "+ TradePeriod +"-"+ StopPeriod +"]["+ Symbol() +"] Close longs");
         } else if (ShortInfo[1] == OUT_OF_MARKET && ShortInfo[2] == IN_THE_MARKET && AlertCount == 0) {
            Alert("[Classic Turtle Trader "+ TradePeriod +"-"+ StopPeriod +"]["+ Symbol() +"] Close shorts");
         }
        
         // Enter signals
         if(LongInfo[1] == IN_THE_MARKET && LongInfo[2] == OUT_OF_MARKET && AlertCount == 0)
         {
            Alert("[Classic Turtle Trader "+ TradePeriod +"-"+ StopPeriod +"]["+ Symbol() +"] BUY");
         } else if (ShortInfo[1] == IN_THE_MARKET && ShortInfo[2] == OUT_OF_MARKET && AlertCount == 0) {
            Alert("[Classic Turtle Trader "+ TradePeriod +"-"+ StopPeriod +"]["+ Symbol() +"] SELL");
         }
         TimeStamp = Time[0];
         AlertCount = 0;
     }

After:
Inserted Code
  // Alerts
     if(TimeStamp != Time[0] && DisplayAlerts == true)
     {
         // Exit signals
         if(LongInfo[1] == OUT_OF_MARKET && LongInfo[2] == IN_THE_MARKET && AlertCount == 0)
         {
            SendNotification("[Classic Turtle Trader "+ TradePeriod +"-"+ StopPeriod +"]["+ Symbol() +"] Close longs");
         } else if (ShortInfo[1] == OUT_OF_MARKET && ShortInfo[2] == IN_THE_MARKET && AlertCount == 0) {
            SendNotification("[Classic Turtle Trader "+ TradePeriod +"-"+ StopPeriod +"]["+ Symbol() +"] Close shorts");
         }
        
         // Enter signals
         if(LongInfo[1] == IN_THE_MARKET && LongInfo[2] == OUT_OF_MARKET && AlertCount == 0)
         {
            SendNotification("[Classic Turtle Trader "+ TradePeriod +"-"+ StopPeriod +"]["+ Symbol() +"] BUY");
         } else if (ShortInfo[1] == IN_THE_MARKET && ShortInfo[2] == OUT_OF_MARKET && AlertCount == 0) {
            SendNotification("[Classic Turtle Trader "+ TradePeriod +"-"+ StopPeriod +"]["+ Symbol() +"] SELL");
         }
         TimeStamp = Time[0];
         AlertCount = 0;
     }

Compile: The edited code can only take effect if compiled.
Attached Image
Attached Image
Attached Image


Note: If after editing the code an error exists use Ctrl+Z to roll back the edited code to original code - then start again.
Note: Two warnings [2 warning(s)] will show - these warnings are of the original code - they are minor and for present should not impede operation and can be ignored - however you can try the following to eliminate the 2 warning(s) - I do not have time to test, but should be in order - I have added 2 x two brackets, [One extra bracket before 'CLOSE' (now 4 open brackets total) and one extra bracket after the last 'false' (now 3 close brackets total)] - you will have to suss the before - below is the after.

After:
Inserted Code
  // Exit longs taking into account strict exits and the greedy mode
         // Loose mode only applies after the bar has closed
         if((((CLOSE < slow && i > 0) && (CLOSE > long_price || Greedy == false)) ||
            (LOW < slow && StrictExit == true && (LOW > long_price || Greedy == false))) &&
            LongInfo[i] == IN_THE_MARKET)
         {
            LongInfo[i] = OUT_OF_MARKET;
            ExtMapBuffer3[i] = LOW;
         }
        
         // Exit shorts taking into account strict exits and the greedy mode
         // Loose mode only applies after the bar has closed
         if((((CLOSE > shigh && i > 0) && (CLOSE < short_price || Greedy == false)) ||
            (HIGH > shigh && StrictExit == true && (HIGH < short_price || Greedy == false))) &&  
            ShortInfo[i] == IN_THE_MARKET)

Attached Image
Attached Image
Attached Image
NO PM CODE REQUESTS - NO TIME // Posts are personal reference notes.
1
  • Post #28,562
  • Quote
  • Apr 1, 2019 9:06pm Apr 1, 2019 9:06pm
  •  enochben
  • Joined Dec 2007 | Status: a.k.a. the speculator | 914 Posts
Does the original offer still stand?

If so, can you please code the quick_trailing EA so that it works with mt5?
Attached File
File Type: mq4 Quik_Trailing.mq4   16 KB | 177 downloads
  • Post #28,563
  • Quote
  • Apr 1, 2019 11:46pm Apr 1, 2019 11:46pm
  •  mntiwana
  • Joined Mar 2013 | Status: Member | 557 Posts
Quoting enochben
Disliked
Does the original offer still stand? If so, can you please code the quick_trailing EA so that it works with mt5? {file}
Ignored
Decompiled code
Indicator is just a tool. Use it only if it can benefit you.
  • Post #28,564
  • Quote
  • Apr 2, 2019 1:53am Apr 2, 2019 1:53am
  •  Tilltheend
  • | Joined Sep 2014 | Status: Member | 53 Posts
Quoting Beerrun
Disliked
{quote} It works correctly for me #property indicator_separate_window #property indicator_buffers 1 #property indicator_color1 clrGold string MultiMkts[4]={"EURUSD","GBPUSD","AUDUSD","USDCAD"}; double ExtMapBuffer[]; int init(){ SetIndexStyle(0,DRAW_LINE,0,2,Yellow); SetIndexBuffer(0,ExtMapBuffer); return(0);} int start(){ for(int i=Bars-IndicatorCounted()-1;i>=0;i--){ int Bull=0,Bear=0; for(int j=ArraySize(MultiMkts)-1;j>=0;j--){ string Symbol_Name=MultiMkts[j]; if(iClose(Symbol_Name,0,i)>iMA(Symbol_Name,0,20,0,MODE_EMA,0,i))Bull++; else Bear++;}...
Ignored
Hey buddy,
Earlier indicator gives no issues, n displays proper values.
Below is different version of same indicator. This functions in similar way, but with respect to vwap.
Here, indicator doesn't show new data (n proper values) till either timeframe is changed/ indicator is edited/ indicator compiled etc.

Can you please guide. Thanks.


#property indicator_separate_window
#property indicator_buffers 2
#property indicator_color1 Gold
#property indicator_color2 Red
#property indicator_color3 LawnGreen
#property indicator_color4 Red

string MultiMkts[3] = {"EURUSD","GBPUSD","USDCAD"};
int Bull2=0, Bear2=0;
double TotalPVToday=0,TotalVolumeToday=0;
string StratName= "vw";
color InfoText = LightGray;
color colour1=White;
color colour2=White;
int Back = 15000;
//--- buffers
double ExtMapBuffer2[];
int SessionBars;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
SetIndexStyle(2,DRAW_LINE,0,2,Red);
SetIndexBuffer(2,ExtMapBuffer2);
IndicatorShortName("MI");

return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
int obj_total=ObjectsTotal();
string name;
for(int i=obj_total+1;i>-1;i--)
{
name=ObjectName(i);
if(StringFind(name,"MI",0)==0)
ObjectDelete(name);

}

//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
//----
if(Bars<1) return(0);
int counted_bars = IndicatorCounted();
if (counted_bars > 0) counted_bars--;
int limit = MathMin(Back, (Bars - counted_bars));
SessionBars = iBarShift(NULL,0,iTime(NULL,PERIOD_D1,0));

for (int i = 0; i <= 100; i++)
{
int ii,j;
Bull2 = 0; Bear2 = 0;

for(j=0;j<ArraySize(MultiMkts);j++)
{
TotalPVToday=0;TotalVolumeToday=0;
string Symbol_Name = MultiMkts[j];

//Intraday vwap code - sessionbars shows Bar number for current bar
for(ii=0;(ii<SessionBars);ii++){
TotalPVToday+=iVolume(Symbol_Name,0,i+ii)*((iLow(Symbol_Name,0,i+ii)+iHigh(Symbol_Name,0,i+ii)+iClose(Symbol_Name,0,i+ii))/3);
TotalVolumeToday+=iVolume(Symbol_Name,0,i+ii); // VOLAVGToday[i]=TotalPVToday/TotalVolumeToday;
}

if(iClose(Symbol_Name,0,i) > (TotalPVToday/TotalVolumeToday))
Bull2=Bull2+1;
else Bear2=Bear2+1;
}
ExtMapBuffer2[i] = (Bull2 - Bear2);
SessionBars--; // ****** counter is reduced, as no. of candles in session would keep on reducing
}
//----
return(0);
}
//+------------------------------------------------------------------+


Note: main difference betn 2 indicators is, here, another FOR loop is used. Reason, intraday vwap is calculated from 1st bar of session
//Intraday vwap code - sessionbars shows Bar number for current bar
for(ii=0;(ii<SessionBars);ii++){
  • Post #28,565
  • Quote
  • Apr 2, 2019 1:54am Apr 2, 2019 1:54am
  •  gargindia
  • | Joined Mar 2017 | Status: Member | 65 Posts
Quoting mntiwana
Disliked
{quote} "MT4-LevelStop-Reverse-v2.02" Try this of Mrtools extended ver 7 display options 20 prices and more even experimenting advised {image} {image} {file}
Ignored
Thank you VVmuch
  • Post #28,566
  • Quote
  • Apr 2, 2019 3:52am Apr 2, 2019 3:52am
  •  Snipe
  • | Commercial Member | Joined May 2017 | 100 Posts
Hi all

I know this is about platform tech trading so I apologize in advance for the intrusion and going of slightly topic to cover platform hardware.

https://www.forexfactory.com/showthread.php?t=903751

I am developing a Forex Trading Keyboard would like your feedback and ideas on what it should include and how it should function?

The current design is some of the common keys and six user defined shortcut hotkeys :

The common keys are : Buy, Close Buy, Sell , Close Sell, Zoom in on chart, Zoom out off chart, Copy, Paste, Enter, AutoScale Chart, Close All Trades and CrossHair.

The 6 coloured buttons Yellow, Red,Green,Orange,Blue and White you can assign to indicators or scripts

Example:

  1. If you want the Yellow button to run a script like set TP and SL you assign Alt+1 hotkey to that script.
  2. If you want the Red button to launch an Indicator assign Alt+2 hotkey to that indicator
  3. You can do this for all six coloured buttons


The BUY SELL and buttons also run shortcut keys to scripts so you can set your lot sizes

Please give me your feedback any ideas welcome

https://www.forexfactory.com/showthread.php?t=903751

Attached Image
1
  • Post #28,567
  • Quote
  • Apr 2, 2019 5:40am Apr 2, 2019 5:40am
  •  classy
  • Joined Jun 2012 | Status: Trader , Analyst and Mentor | 3,542 Posts | Online Now
i am looking for script which open at a time (drag and drop)
major pairs
cross pairs
yen pairs
eur pairs
gbp pairs
aud pairs
nzd pairs
Say something meaningful or Silence!!
  • Post #28,568
  • Quote
  • Apr 2, 2019 5:56am Apr 2, 2019 5:56am
  •  slowbrain
  • | Joined Jul 2016 | Status: .... | 935 Posts
Hi all

I'm looking for a daily pivots indicator with these features :

1. possibility to change starting time of the day : i'm using GMT+2 broker but i need to start daily pivot at 00h00 New york time
2. show mid levels
3. show historical data on chart : not only curent day but the days before on chart

if you have any idea where i can find such indicator i will be pleased
Thanks in advance

SB
trying to make everyday the best risk/reward decisions possible
  • Post #28,569
  • Quote
  • Apr 2, 2019 6:50am Apr 2, 2019 6:50am
  •  Dynasty
  • | Joined Nov 2007 | Status: Member | 21 Posts
Hello
Please can some one help with this indicator upload so we can download please thanks FX5 MACD Divergence MetaTrader 4 Indicator
  • Post #28,570
  • Quote
  • Apr 2, 2019 6:51am Apr 2, 2019 6:51am
  •  hashcode
  • | Joined Jul 2017 | Status: Member | 3 Posts
hello Friends,

I need help with a sound and popup alert for this indicator "Bollinger Bands %b"
https://www.mql5.com/en/code/7165

I need a alert when indicator crosses 0 line from above when candle closed.

http://i68.tinypic.com/2mzff40.png

Kindly help me. Thanks in advance
Attached Image (click to enlarge)
Click to Enlarge

Name: 2mzff40.png
Size: 40 KB
  • Post #28,571
  • Quote
  • Apr 2, 2019 7:35am Apr 2, 2019 7:35am
  •  maximumguita
  • Joined Apr 2015 | Status: Member | 1,021 Posts
Quoting Dynasty
Disliked
Hello Please can some one help with this indicator upload so we can download please thanks FX5 MACD Divergence MetaTrader 4 Indicator
Ignored
Attached File
File Type: ex4 FX5_MACD_Divergence_V1.1.ex4   10 KB | 126 downloads
(.)(.) think first ... but do not forget to act!
  • Post #28,572
  • Quote
  • Apr 2, 2019 7:43am Apr 2, 2019 7:43am
  •  Phylo
  • Joined Feb 2012 | Status: Member | 1,331 Posts
Quoting Dynasty
Disliked
Hello Please can some one help with this indicator upload so we can download please thanks FX5 MACD Divergence MetaTrader 4 Indicator
Ignored
https://www.mql5.com/en/code/7116
NO PM CODE REQUESTS - NO TIME // Posts are personal reference notes.
  • Post #28,573
  • Quote
  • Apr 2, 2019 8:01am Apr 2, 2019 8:01am
  •  Phylo
  • Joined Feb 2012 | Status: Member | 1,331 Posts
Quoting Snipe
Disliked
Hi all I know this is about platform tech trading so I apologize in advance for the intrusion and going of slightly topic to cover platform hardware. https://www.forexfactory.com/showthread.php?t=903751 I am developing a Forex Trading Keyboard would like your feedback and ideas on what it should include and how it should function? The current design is some of the common keys and six user defined shortcut hotkeys : The common keys are : Buy, Close Buy, Sell , Close Sell, Zoom in on chart, Zoom out off chart, Copy, Paste, Enter, AutoScale...
Ignored
May be of interest to OP and others - https://www.mql5.com/en/market/produ...tab_p_overview

Comment: Does not appear to have default Break Even option.

------------------------------------------------

https://www.mql5.com/en/forum/176626
NO PM CODE REQUESTS - NO TIME // Posts are personal reference notes.
  • Post #28,574
  • Quote
  • Edited at 4:23pm Apr 2, 2019 9:44am | Edited at 4:23pm
  •  Phylo
  • Joined Feb 2012 | Status: Member | 1,331 Posts
Quoting Retep
Disliked
{quote} Stuff on my GitHub account https://youtu.be/IRxCJ2FvubI
Ignored
MT5 and MT4 - A typo error gives impression of MT4 only. MT5 available (separate downloads).

FX Blue Chart Quick-Tools for MT5 and MT4
Attached Image
- https://www.fxblue.com/appstore/52/c...uick-tools-mt4
NO PM CODE REQUESTS - NO TIME // Posts are personal reference notes.
  • Post #28,575
  • Quote
  • Apr 2, 2019 9:51am Apr 2, 2019 9:51am
  •  Phylo
  • Joined Feb 2012 | Status: Member | 1,331 Posts
Individual TimeFrame Scripts - M1, M5, M15 etc - will change all charts to same timeframe
Attached File
File Type: zip TimeFrameScripts.zip   8 KB | 125 downloads
NO PM CODE REQUESTS - NO TIME // Posts are personal reference notes.
  • Post #28,576
  • Quote
  • Apr 2, 2019 10:37am Apr 2, 2019 10:37am
  •  Beerrun
  • Joined Jan 2016 | Status: Member | 305 Posts
Quoting Tilltheend
Disliked
{quote} Hey buddy, Earlier indicator gives no issues, n displays proper values. Below is different version of same indicator. This functions in similar way, but with respect to vwap. Here, indicator doesn't show new data (n proper values) till either timeframe is changed/ indicator is edited/ indicator compiled etc. Can you please guide. Thanks. #property indicator_separate_window #property indicator_buffers 2 #property indicator_color1 Gold #property indicator_color2 Red #property indicator_color3 LawnGreen #property indicator_color4 Red string...
Ignored
I think it is not breaking a loop. SessionBars will always equal zero on the first iteration:
SessionBars = iBarShift(NULL,0,iTime(NULL,PERIOD_D1,0);
The only thing that breaks the “ii” controller loop is if ii is less than session bars:
for(ii=0;(ii<SessionBars);ii++)
but ii only increases. I’d start with changing the loop counting directions.
  • Post #28,577
  • Quote
  • Apr 2, 2019 1:08pm Apr 2, 2019 1:08pm
  •  Tilltheend
  • | Joined Sep 2014 | Status: Member | 53 Posts
Quoting Beerrun
Disliked
{quote} I think it is not breaking a loop. SessionBars will always equal zero on the first iteration: SessionBars = iBarShift(NULL,0,iTime(NULL,PERIOD_D1,0); The only thing that breaks the “ii” controller loop is if ii is less than session bars: for(ii=0;(ii<SessionBars);ii++) but ii only increases. I’d start with changing the loop counting directions.
Ignored
Ok cool.
If SessionBars--; is removed, indicator refreshes without issue. But, it gives wrong value of vwap. For vwap calculation, for(ii=0;(ii<SessionBars);ii++)....in this code, SessionBars need to reduce, as Candle number (from Session Beginning) would keep reducing as we go left on the chart.
  • Post #28,578
  • Quote
  • Apr 2, 2019 2:26pm Apr 2, 2019 2:26pm
  •  Tilltheend
  • | Joined Sep 2014 | Status: Member | 53 Posts
Quoting Beerrun
Disliked
{quote} I think it is not breaking a loop. SessionBars will always equal zero on the first iteration: SessionBars = iBarShift(NULL,0,iTime(NULL,PERIOD_D1,0); The only thing that breaks the “ii” controller loop is if ii is less than session bars: for(ii=0;(ii<SessionBars);ii++) but ii only increases. I’d start with changing the loop counting directions.
Ignored
I have looked for workaround, so instead of 'SessionBars--', shall change FOR loop as below. Shall test tomm if it works.
for(ii=0;(ii<SessionBars-i);ii++){
  • Post #28,579
  • Quote
  • Apr 2, 2019 4:26pm Apr 2, 2019 4:26pm
  •  Phylo
  • Joined Feb 2012 | Status: Member | 1,331 Posts
Quoting elgaza
Disliked
Hey anyone has a script for mt5 that can change all windows to a specific symbol? thanx
Ignored
See post 28,574 - https://www.forexfactory.com/showthr...7#post12184007
NO PM CODE REQUESTS - NO TIME // Posts are personal reference notes.
  • Post #28,580
  • Quote
  • Apr 2, 2019 5:06pm Apr 2, 2019 5:06pm
  •  Beerrun
  • Joined Jan 2016 | Status: Member | 305 Posts
Quoting Tilltheend
Disliked
{quote} Hey buddy, Earlier indicator gives no issues, n displays proper values. Below is different version of same indicator. This functions in similar way, but with respect to vwap. Here, indicator doesn't show new data (n proper values) till either timeframe is changed/ indicator is edited/ indicator compiled etc. Can you please guide. Thanks. #property indicator_separate_window #property indicator_buffers 2 #property indicator_color1 Gold #property indicator_color2 Red #property indicator_color3 LawnGreen #property indicator_color4 Red string...
Ignored
Im sorry but I was wrong earlier. I just noticed you said it doesn't display proper values either.
SessionBars goes into the loop as 0, which then I believe skips the for loop, for(ii=0;(ii<SessionBars);ii++){

Try moving your loop check and ii increment to the bottom of the loop like this

for(ii=0; ; ){
...your code...
i++;
if(ii>=SessionBars)break;}
Thread Tools Search this Thread
Show Printable Version Show Printable Version
Email This Thread Email This Thread
Search this Thread:

Advanced Search

  • Platform Tech
  • /
  • I will code your EAs and Indicators for no charge
  • Reply to Thread
    • 1 14271428Page 142914301431 1588
    • 1 Page 1429 1588
6 traders viewing now, 4 are members:
Invisible
,
Luvisfx
,
sunny2way
,
joland
  • 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 / ©2019