• Home
  • Forums
  • News
  • Calendar
  • Coins
  • Market
  • Login
  • Join
  • 12:41am
Menu
  • Forums
  • News
  • Calendar
  • Coins
  • Market
  • Login
  • Join
  • 12:41am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Forex Factory

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

I will code your scalping EAs for no charge 108 replies

Oanda MT4 - Indicators and EAs not showing 2 replies

I will code your pivot EAs for no charge 20 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
  • 44,633
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 32353236Page 323732383239 3240
  • 1 Page 3237 3240
  •  
  • Post #64,721
  • Quote
  • Nov 22, 2023 4:44pm Nov 22, 2023 4:44pm
  •  danjuma
  • | Joined Feb 2010 | Status: Member | 556 Posts
Hello. Would appreciate some assistance please. I am not an expert on Mql4. I just piece together snippets of codes here and there and come up with something that works most times. The code below is a buy script and calculates the lots based on account size. It seems to work for all other currency pairs, but fails to work for JPY currency pairs - the lots size calculated is wrong (I have checked this with other position size calculators). I have checked and checked the code and cannot not figure out what is causing the incorrect calculation. Hope somebody can help please. Thank you

Inserted Code
#property show_inputs

#define  NL    "\n"
extern double  RiskPercent = 0.1;
extern int     Slippage   = 3;
extern int       BEtop = 10;
extern double    atrMultiple = 1;
extern int       magic = 0;
extern string  TradeComment="BUY";
//+------------------------------------------------------------------+
//| script "Open a new Buy Order"                                    |
//+------------------------------------------------------------------+
double getATRvalue()
{
  int pipMult = 10000;
     if (StringFind(Symbol(),"JPY",0) != -1)
     {
      pipMult = 100;
     }
   //fetch current 14-period ATR value
   double atr = iATR(NULL,0,20,0);
   atr = atr * pipMult;
  return (atr);
}
//+-----------------------------------------------------------------+//
int start()
  {
   
   double Price = WindowPriceOnDropped();
   bool   result;
   int    cmd,total,error,slippage;
   
//----
   int NrOfDigits = MarketInfo(Symbol(),MODE_DIGITS);   // Nr. of decimals used by Symbol
   int PipAdjust;                                       // Pips multiplier for value adjustment
      if(NrOfDigits == 5 || NrOfDigits == 3)            // If decimals = 5 or 3
         PipAdjust = 10;                                // Multiply pips by 10
         else
      if(NrOfDigits == 4 || NrOfDigits == 2)            // If digits = 4 or 3 (normal)
         PipAdjust = 1;            
//----  
   
   double nTickValue=MarketInfo(Symbol(),MODE_TICKVALUE);   //value of a tick
   if(Digits==3 || Digits==5){       //If the digits are 3 or 5 we normalize multiplying by 10
      nTickValue=nTickValue*10;
      }                         
  
   double atr = MathRound(getATRvalue());
   double stopAtr = atr * atrMultiple;
   double BEplus = stopAtr +  BEtop;
   double stop_loss = Price - stopAtr * Point * PipAdjust;
   double take_profit = Price + BEplus * Point * PipAdjust;
   
  
   double Lots = (AccountBalance()*RiskPercent/100)/(stop_loss*nTickValue);
   Lots = (MathRound(Lots/MarketInfo(Symbol(),MODE_LOTSTEP))*MarketInfo(Symbol(),MODE_LOTSTEP)) / 2;   //to round up the lots to prevent errors with minimum lot size by broker etc.
   
   Comment("ATR(20):  ", atr+ NL,"SLpips:  ", stopAtr+ NL, "TPpips:  ", BEplus+ NL, "Lots  ", Lots); 
   
   slippage = Slippage * PipAdjust; 
   
   if(Ask > Price)
   {
   result = OrderSend(Symbol(),OP_BUYLIMIT,Lots,Price,slippage,stop_loss,take_profit,TradeComment,magic,0,CLR_NONE);
   result = OrderSend(Symbol(),OP_BUYLIMIT,Lots,Price,slippage,stop_loss,0,TradeComment,magic,0,CLR_NONE);
   
   }
   else
   {
   result = OrderSend(Symbol(),OP_BUYSTOP,Lots,Price,slippage,stop_loss,take_profit,TradeComment,magic,0,CLR_NONE);
   result = OrderSend(Symbol(),OP_BUYSTOP,Lots,Price,slippage,stop_loss,0,TradeComment,magic,0,CLR_NONE);
   
   }
//----
   return(0);
 
 
  • Post #64,722
  • Quote
  • Nov 22, 2023 5:37pm Nov 22, 2023 5:37pm
  •  Tictak
  • Joined Jun 2021 | Status: Member | 248 Posts
Ma can be used like tp.
Attached Image(s) (click to enlarge)
Click to Enlarge

Name: EURUSDH4.png
Size: 15 KB
Click to Enlarge

Name: USDJPYH4.png
Size: 16 KB
Attached File(s)
File Type: ex4 Rsi_ma.ex4   38 KB | 176 downloads
 
 
  • Post #64,723
  • Quote
  • Edited Nov 23, 2023 8:25am Nov 22, 2023 10:23pm | Edited Nov 23, 2023 8:25am
  •  walvekarraje
  • Joined Feb 2019 | Status: Member | 405 Posts
Quoting BestTraderEv
Disliked
{quote} Ok, now, love it or leave it! I have performed a major operation on this indicator! All alerts have been tested out and working. I will only supply the ex4 file, because I don't want anybody to mess this up! File is also protected from changing the file name. All persons involved in the creation of this indicator have been indicated. EDIT!!! Just a little tweak in the inputs section that I missed: {file}
Ignored
hi BestTraderEv
this was a fantastic mod you did to the rsioma indicator making it perfect. many thanks for that.
one more request, can you make alert on two rsioma cross (fast rsioma and slow rsioma)...1) ignoring the ma crosss completly 2) ignore the trend and trigger levels completlyl 3) marking the cross with dotted vertical line on chart. 4) alert after completion of candle
in short alert : EURUSD H4 at 12.00 RSIOMA crossed up

Attached Image (click to enlarge)
Click to Enlarge

Name: request.png
Size: 60 KB





Attached File(s)
File Type: mq4 rsioma_nrp_mtf+alerts+lines nmc.mq4   12 KB | 152 downloads

many thanka in advance
 
 
  • Post #64,724
  • Quote
  • Nov 23, 2023 1:58am Nov 23, 2023 1:58am
  •  yorgus
  • | Joined May 2020 | Status: Member | 61 Posts
Quoting walvekarraje
Disliked
{quote} hi BestTraderEv this was a fantastic mod you did to the rsioma indicator making it perfect. many thanks for that. one more request, can you make alert on two rsioma cross...1) ignoring the ma crosss completly 2 ignore the trend and trigger levels completlyl 3) marking the cross with dotted vertical line on chart. in short alert : EURUSD H4 at 12.00 RSIOMA crossed up {image} {file} many thanka in advance
Ignored
HI
it looks good the crossing lines,can you please share the settings ?
thank you
 
1
  • Post #64,725
  • Quote
  • Nov 23, 2023 6:31am Nov 23, 2023 6:31am
  •  geemaster
  • | New Member | Status: Junior Member | 1 Post
Quoting daggi22
Disliked
{quote} Thanks again. Can we make it that the indicator checks the last 3 daily candles to confirm the pattern rather than scan all history. The pattern again is: Bullish Scenario 1. Candle 1 is first reference candle 2. Candle 2 sweep candle 1 Low but does not close above candle 1 high 3. Candle 3 Does Not sweep candle 2 Low but sweep and close with a body of candle 2 High. When this happens, an onscreen note " Three Bar Candle Bullish: ON", if not "Three Bar Candle Bullish: OFF'' Bearish Scenario 1. Candle 1 is first reference candle 2. Candle...
Ignored
I think this might be what your looking for..... it shows the Three Candle Reversals following the rules of @BestForexMethod on Twitter.
Thanks to RebelAnt for creating it, he can be found as @intrepidnoodle on Twitter.
Attached File(s)
File Type: ex4 RebelAnt3CR_R2.ex4   42 KB | 111 downloads
 
 
  • Post #64,726
  • Quote
  • Edited 7:33am Nov 23, 2023 7:23am | Edited 7:33am
  •  walvekarraje
  • Joined Feb 2019 | Status: Member | 405 Posts
Quoting yorgus
Disliked
{quote} HI it looks good the crossing lines,can you please share the settings ? thank you
Ignored
sure
12,0,3,2,3
18,0,3,2,3
color 3 set to none.
fixed minimum (-5), fixed maximum 105
these settings work well with H4 charts.

https://www.forexfactory.com/thread/...14656861#reply
my results of 15 days are documented in the above post
but here i have used it as a confirmation to the guppy system rather than the entry. i think the entry will be earlier if we use cross, lessser stoploss and better risk reward ratio.
 
1
  • Post #64,727
  • Quote
  • Nov 23, 2023 9:17am Nov 23, 2023 9:17am
  •  Samalin
  • Joined Apr 2017 | Status: Member | 861 Posts
Quoting jeanlouie
Disliked
{quote} You're still not giving enough information. What happens when you switch chart tfs, reload the indicator, is there anything in the experts tab, just saying its not working isn't enough.
Ignored
Master i tried again the same situation, i dont change timeframe, i just left it the way its applied, however am using it on MTF, attached is from expert tab
Attached Image(s) (click to enlarge)
Click to Enlarge

Name: JEAN.png
Size: 8 KB
Click to Enlarge

Name: JEAN1.png
Size: 8 KB
 
 
  • Post #64,728
  • Quote
  • Nov 23, 2023 10:52am Nov 23, 2023 10:52am
  •  Fiox89
  • | Joined Feb 2015 | Status: Member | 8 Posts
Quoting jeanlouie
Disliked
{quote} SR_Equal_HL - looks for equal highs/lows - input history (number of candles to look through) - optional pip margin (distance to a matching high/low in pip, check printout) - optional minimum candles apart (between two highs/lows) - optional clear-match or candles in way (no candles in the way of a line) - draw limit (limit of lines drawn, start from live to the left) - show/hide btn updated - styles and width bug {image} pips margin and adjust, a printout is provided to see what is considered a pip and what the margin to match is {image}...
Ignored
Hi man, this looks like a great piece of code, I've been searching this for months, thank you so much!
any chance you still have the code and can add notifications on a new equal highs/lows? would be amazing

Thanks!
 
 
  • Post #64,729
  • Quote
  • Nov 23, 2023 11:45am Nov 23, 2023 11:45am
  •  Georgebaker
  • Joined Nov 2009 | Status: Member | 712 Posts
Quoting Samalin
Disliked
{quote} Master i tried again the same situation, i dont change timeframe, i just left it the way its applied, however am using it on MTF, attached is from expert tab {image} {image}
Ignored
Attached Image (click to enlarge)
Click to Enlarge

Name: screenshot.png
Size: 13 KB
Blindly following others will make you blind!
 
 
  • Post #64,730
  • Quote
  • Nov 23, 2023 12:50pm Nov 23, 2023 12:50pm
  •  Samalin
  • Joined Apr 2017 | Status: Member | 861 Posts
Quoting Georgebaker
Disliked
{quote} {image}
Ignored
Sir please what did i do wrong? the indicator is MTF and has in-built input parameters,
does this mean i should not use the indi on MTF?
 
 
  • Post #64,731
  • Quote
  • Nov 23, 2023 1:33pm Nov 23, 2023 1:33pm
  •  atakanozbaki
  • | Joined May 2019 | Status: Junior Member | 8 Posts
CODE HELP BUY: High > Highest( Close , 48) , SELL: Low < Lowest ( Close,48) ,EXİT: Stoploss % Percent , Take Profit % Percent , Trailing Stop% Percent

Can anyone help me write the code below?

METATRADER 5 - MQL 5
BUY: High > Highest( Close , 48)
SELL: Low < Lowest ( Close,48)
System will buy when the 48-bar high is broken, and close the position with Stoploss, Takeprofit, and trailing. System will sell when the 48-bar low is broken, and close the position with Stoploss, Takeprofit, and trailing. System will only trade in the long direction, or only in the short direction.

Stoploss: 1%, Profit: 10% (not in pips, but in percentage)
Trailing Stop: Initial trailing stop is 2%, trailing stop will continue at 1% once the profit reaches 6%
Input values can be assigned and changed:
*High-Low bar count: (which is 48), Stoploss, Profit, Lot, Long-Short direction (for single-double direction use),
*Initial trailing stop( which is 3% ), Trailing profit condition: (which is 6%) , Trailing stop value after profit: (which is 1%)

The values assigned to the input can be optimized.
 
 
  • Post #64,732
  • Quote
  • Nov 23, 2023 2:12pm Nov 23, 2023 2:12pm
  •  Arash64
  • | Joined Aug 2022 | Status: Junior Member | 3 Posts
Hello and thanks to the programmers, I wnat a MT5 indicator to push notification and alert to me with this criteria:

Double RSI With SMA based on first RSI
RSI(A), RSI(B), SMA(C) based on RSI(A)
Draw level 0,30,40,50,60,70,100

Indicator push notification and alert when (Buy Condition):
RSI(A) Cross Up Level X(option to choose level on setting)
And when RSI(B) Cross Up SMA(C)
Then send push notification and alert
Option to choose Alert on current candle or when candle closing

In Opposite Condition
Indicator push notification and alert when (Sell Condition):
RSI(A) Cross Down Level X(option to choose level on setting)
And when RSI(B) Cross Down SMA(C)
Then send push notification and alert
Option to choose Alert on current candle or when candle closing

Thanks a lot
 
 
  • Post #64,733
  • Quote
  • Nov 23, 2023 2:41pm Nov 23, 2023 2:41pm
  •  Tictak
  • Joined Jun 2021 | Status: Member | 248 Posts
Reconstruction.
Attached Image(s) (click to enlarge)
Click to Enlarge

Name: EURUSDH4.png
Size: 23 KB
Click to Enlarge

Name: EURUSDH4_1.png
Size: 21 KB
Attached File(s)
File Type: ex4 Rsioma_Nrp+Histo+Lines+Alerts _MTF.ex4   50 KB | 116 downloads
 
2
  • Post #64,734
  • Quote
  • Nov 23, 2023 3:24pm Nov 23, 2023 3:24pm
  •  Tictak
  • Joined Jun 2021 | Status: Member | 248 Posts
You can put together a pretty good system. With these turkeys that I posted this week))).
Attached Image (click to enlarge)
Click to Enlarge

Name: EURUSDH4.png
Size: 21 KB
 
2
  • Post #64,735
  • Quote
  • Nov 23, 2023 3:36pm Nov 23, 2023 3:36pm
  •  jeanlouie
  • Joined Dec 2010 | Status: Member | 1,756 Posts
Quoting Samalin
Disliked
{quote} Master i tried again the same situation, i dont change timeframe, i just left it the way its applied, however am using it on MTF, attached is from expert tab {image} {image}
Ignored
Is the picture of the experts tab just on loading or when it has already stopped working?
 
 
  • Post #64,736
  • Quote
  • Nov 23, 2023 3:59pm Nov 23, 2023 3:59pm
  •  DFxCaptTV
  • | Joined Oct 2023 | Status: Junior Member | 2 Posts
hi mate, I would like to create a script in Tradingview and an EA in MT4 as per details below

Strategy = MFI Bollinger Bands
Indicators = Bollinger Bands (20) dev 2 and Money Flow Index (5) levels 80 and 20
Lot Size = 0.01
Layering = times 2

Instruction to place an order:


In the M5 TF, if the opening of the 2nd candle touches the upper band and the MFI reaches above level 20 the order is Buy. if the opening of the 2nd candle touches the lower band and the MFI reaches below level 80 the order is Sell.


Is it possible to make this an EA or Script? Thank in advance to those who will reply
 
 
  • Post #64,737
  • Quote
  • Nov 23, 2023 4:10pm Nov 23, 2023 4:10pm
  •  Georgebaker
  • Joined Nov 2009 | Status: Member | 712 Posts
Quoting Samalin
Disliked
{quote} Sir please what did i do wrong? the indicator is MTF and has in-built input parameters, does this mean i should not use the indi on MTF?
Ignored
To me, it seems that you have no error in the expert tab, it initialize when you added to the chart the first time and then you change some input parameter and then it initialize fine again.

I see the problem though, but i think Jeanlouie has to fix this for you
Blindly following others will make you blind!
 
 
  • Post #64,738
  • Quote
  • Nov 23, 2023 4:18pm Nov 23, 2023 4:18pm
  •  jeanlouie
  • Joined Dec 2010 | Status: Member | 1,756 Posts
Quoting Fiox89
Disliked
{quote}...add notifications on a new equal highs/lows? ...
Ignored
SR_Equal_HL
- v1.1
- finds equal high and lows within a point margin
- full alerts
Attached Image (click to enlarge)
Click to Enlarge

Name: screenshot.png
Size: 4 KB
Attached File(s)
File Type: ex4 SR_Equal_HL.ex4   25 KB | 114 downloads
 
3
  • Post #64,739
  • Quote
  • Nov 23, 2023 10:54pm Nov 23, 2023 10:54pm
  •  scdihan
  • | Joined Sep 2020 | Status: Member | 4 Posts
-REPOSTING-

Dear BestTraderEV/ Coders.

Good Day sir.

Kindly request your help on this regard.

I trade indices & I'm trying to develop a system accordingly.

I've a request that may sound strange but as per my findings if this can be done it may come in very handy.

This indicator that I've attached is a "Moving average crossover" for MT5..

I wonder whether its possible to add a condition in addition to usual crossover.

Example :

Lets say I want to get alerts when

Moving average 20 (EMA) crossed Moving average 50 (EMA).

But I get to choose only to get alerts when crossover happens below/high 200 MA/EMA


Is this something can be done sir?
if possible kindly help me to get it done. million thanks in advance.

have a good day.
Thank you.
Attached File(s)
File Type: ex5 MQLTA MT5 Moving Average Crossover Alert.ex5   226 KB | 23 downloads
File Type: mq5 MQLTA MT5 Moving Average Crossover Alert.mq5   11 KB | 28 downloads
 
 
  • Post #64,740
  • Quote
  • Nov 24, 2023 1:33am Nov 24, 2023 1:33am
  •  venkateshr56
  • | Joined Mar 2016 | Status: Member | 113 Posts
Does anyone have mt5 version of this indicator ?
Attached File(s)
File Type: mq4 3 Tier London Breakout V.3.2b.mq4   19 KB | 89 downloads
 
 
  • Platform Tech
  • /
  • I will code your EAs and Indicators for no charge
  • Reply to Thread
    • 1 32353236Page 323732383239 3240
    • 1 Page 3237 3240
49 traders viewing now, 3 are members:
Elvxyz20
,
sparkUP2329
,
eldermonyei
  • More
Top of Page
  • Facebook
  • Twitter
About CC
  • Mission
  • Products
  • User Guide
  • Blog
  • Contact
CC Products
  • Forums
  • Calendar
  • News
  • Coins
  • Market
CC Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow CC
  • Facebook
  • Twitter

CC Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Forex Factory

Crypto Craft® is a brand of Fair Economy, Inc.

Terms of Service / ©2023