• Home
  • Forums
  • News
  • Calendar
  • Coins
  • Market
  • Login
  • Join
  • 11:44pm
Menu
  • Forums
  • News
  • Calendar
  • Coins
  • Market
  • Login
  • Join
  • 11:44pm
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 32343235Page 323632373238 3240
  • 1 Page 3236 3240
  •  
  • Post #64,701
  • Quote
  • Nov 20, 2023 8:41pm Nov 20, 2023 8:41pm
  •  GenericPanda
  • | New Member | Status: Member | 6 Posts
Quoting jeanlouie
Disliked
{quote} Technically, mt5 is faster, I prefer mt4 though. There are 2 ways you can refer to timeprice data, either through predefined arrays available in the parameters of oncalc, ie time[], high[], or with predefined arrays like Time[], High[] (the capital version gets syntax highlighted in mt4, doesn't exist for mt5), or via time series functions like iTime or iOpen, or via CopyRates. The predefined arrays have information for the current chart, and is ready for access, when using iTime/iopen/ihigh/etc you have the option of changing the tf setting...
Ignored
I see, thank you for the explanation. Forgive me if I am wrong, but from what I understand, that means that the main difference between the two script that could possibly explain the performance difference is that one used a predefined array (MT4) with value ready for access... while the other use a timeseries function (MT5), which will require extra process to fetch the value needed as its not readily available.

I think I understood it now. May I know if there is a reason why one would prefer using the timeseries function, as from what I notice in previous experience, the delay is much more significant, although maybe there are some benefit to it (I do notice that once I have loaded it previously, the next time loading that chart, the indicator appears with little to no delay), but the predefined array also appears without any delay.

Also if its possible to code the MT5 indicator to use a predefined array, or is it only possible in MT4?

Thank you for the guidance, I think I know what I needed to research regarding it now.
 
 
  • Post #64,702
  • Quote
  • Edited Nov 21, 2023 12:53am Nov 20, 2023 8:47pm | Edited Nov 21, 2023 12:53am
  •  widhie75
  • | Joined Dec 2009 | Status: Member | 21 Posts
Quoting jeanlouie
Disliked
{quote} Looks like chatgpt, it can't currently make reliable mt4/mt5 codes. {quote} Because that's the values you're giving it to draw to. iMA returns a handle number to the array that holds the ma values, you can see this in the data window when you drag the cursors back and forth the ma line, and you can see it in the oninit() section where mahandle is given a value. In oncalc(), when trying to clear the ma line, in the existing loop, give it emptyvalue instead.
Ignored
Thanks jeanlouie,,,
yes i still need help from chatgpt. well it somewhat can be reliable, but I/we have to explain the detail to AI and make manual correction , even for simplest/basic smallest subroutine detail, if not , AI will give wrong code.in my case here, i'll try work with empty value.


It WORKS !
Thanks again jeanloui, this 'EMPTYVALUE' solved this 'limited bars MA' issue.

my next plan is to add function Multi TimeFrame.
I think this method very useful to see 'lower TimeFrame' from 'Higher TF current chart'.

Here is correct code for MA 'limited bars'.
Attached File(s)
File Type: mq5 MA 'limited bars'.mq5   5 KB | 46 downloads
 
 
  • Post #64,703
  • Quote
  • Nov 21, 2023 1:12am Nov 21, 2023 1:12am
  •  naick
  • | Joined Jul 2013 | Status: Member | 58 Posts
HI
BY GRACE OF GOD
BELOW IS JUST NOW TRADE SETUP FORMED ON 1MIN TF
FOR DETAILED SPECIFICATION OF INDICATOR & TEMPLATE CREATION ONE CAN LOOK AND DISCUSS AT

https://www.forexfactory.com/thread/...9#post14661859
Attached Image (click to enlarge)
Click to Enlarge

Name: 21S_NZDUSDM1.png
Size: 13 KB
KABIR IS ALMIGHTY GOD. RIGHT WAY OF WORSHIP=ROI, WRONG WAY OF WORSHIP=LOI
 
 
  • Post #64,704
  • Quote
  • Nov 21, 2023 1:56am Nov 21, 2023 1:56am
  •  Slingshots1
  • Joined Feb 2012 | Status: Member | 1,461 Posts
Please coders can it be possible to do a 4hrs expert advisor with the attached settings of the attached arrow signal? ...... ENTRY CANDLE WHERE ARROW APPEARS.. STOP LOSS 10PIPS.... TAKE PROFIT 20PIPS. Please assist.Thanks
Attached Image (click to enlarge)
Click to Enlarge

Name: FOR FOREX FACTORY.PNG
Size: 29 KB

Attached File(s)
File Type: ex4 2x5 MA CROSS WITH SOUND.ex4   10 KB | 96 downloads

Attached File(s)
File Type: mq4 2x5 MA CROSS WITH SOUND.mq4   8 KB | 156 downloads
 
 
  • Post #64,705
  • Quote
  • Nov 21, 2023 2:17am Nov 21, 2023 2:17am
  •  Tictak
  • Joined Jun 2021 | Status: Member | 248 Posts
Quoting GenericPanda
Disliked
Hi, I am new here, and I am currently learning to use custom indicator for metatrader. I am in the process of experimenting with both MT4 and MT5. I used an indicator to show the previous high low of the day, week, and month in form of channel. I find this script from codebase in MT5 and from this forum in MT4... both are an amazing script, though I did some slight adjustment to the latter former to make it show previous high-low...
Ignored

There was an error in the code. That's why it took so long to load in the terminal.
Pruebe este indicador.
Attached File(s)
File Type: mq5 KiS_max_min_Channels_mtf.mq5   17 KB | 65 downloads
 
 
  • Post #64,706
  • Quote
  • Nov 21, 2023 2:40am Nov 21, 2023 2:40am
  •  armamichi
  • | Joined Jun 2023 | Status: Junior Member | 1 Post
Hello everyone and thanks for everything you share.
I'm new in this forum. I trade since 3 years (fluctuating results, but I don't give up)
I hope I'm not breaking any rules of this forum with my request.

Would anyone be able to turn a pine-code from TradingView to an MT4 indicator?
The name of indicator is "T3 Gold Sniper RickAtw", for me is a good indicator. My backtest (last month) shows me good result:
all market sessions, rr 1:1.5, timeframe 15m
96 signals
59 OK 61.45%
37 KO 38.54%

if I consider only the London sessions, the result is a little better:
45 signals
29 OK 64.4%
16 KO 35.6%


The code is that:

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// RickAtw
//@version=3
study(title="T3 Gold Sniper RickAtw", overlay=true )
typeColoured = input(defval="TMA", title="Coloured MA Type: ", options=["SMA", "EMA", "WMA", "VWMA", "SMMA", "DEMA", "TEMA", "HullMA", "ZEMA", "TMA", "SSMA"], type=string)
lenColoured = input(defval=18, title="Coloured MA - Length", minval=1)
srcColoured = input(close,title="Coloured MA - Source")
// Fast MA - type, length
typeFast = input(defval="EMA", title="Fast MA Type: ", options=["SMA", "EMA", "WMA", "VWMA", "SMMA", "DEMA", "TEMA", "HullMA", "ZEMA", "TMA", "SSMA"], type=string)
lenFast = input(defval=21, title="Fast MA - Length", minval=1)
// Medium MA - type, length
typeMedium = input(defval="EMA", title="Medium MA Type: ", options=["SMA", "EMA", "WMA", "VWMA", "SMMA", "DEMA", "TEMA", "HullMA", "ZEMA", "TMA", "SSMA"], type=string)
lenMedium = input(defval=55, title="Medium MA - Length", minval=1)
// Slow MA - type, length
typeSlow = input(defval="EMA", title="Slow MA Type: ", options=["SMA", "EMA", "WMA", "VWMA", "SMMA", "DEMA", "TEMA", "HullMA", "ZEMA", "TMA", "SSMA"], type=string)
lenSlow = input(defval=89, title="Slow MA Length", minval=1)
// 3xMA source
ma_src = input(close,title="3xMA and Bollinger Source")
//
filterOption = input("SuperTrend+3xMA",title="Signal Filter Option : ",
options=["3xMATrend","SuperTrend","SuperTrend+3xMA","ColouredMA","No Alerts","MACross","MACross+ST","MACross+3xMA",
"OutsideIn:MACross","OutsideIn:MACross+ST","OutsideIn:MACross+3xMA"])
//
hideMALines = input(false)
hideSuperTrend = input(true)
hideTrendDirection = input(true)
//
disableFastMAFilter = input(false)
disableMediumMAFilter = input(false)
disableSlowMAFilter = input(false)
//
uKC = false
oiLength = input(8, title="Bollinger Outside In LookBack")
//
SFactor = input(3.618, minval=1.0, title="SuperTrend Factor")
SPd = input(5, minval=1, title="SuperTrend Length")
//
buyColour_ = input("Green", title="BUY Marker Colour: ",options=["Green","Lime","Aqua","DodgerBlue","Gray","Yellow"])
sellColour_ = input("Maroon",title="SELL Marker Colour: ",options=[ "Maroon","Red","Fuchsia","Blue","Black","Orange"])
uSuperTrendFilter = filterOption == "SuperTrend" ? true : false
u3xMATrendFilter = filterOption == "3xMATrend"? true : false
uBothTrendFilters = filterOption == "SuperTrend+3xMA"? true : false
uOIMACrossFilter = filterOption == "OutsideIn:MACross" ? true : false
uOI3xMAFilter = filterOption == "OutsideIn:MACross+3xMA" ? true : false
uOISTFilter = filterOption == "OutsideIn:MACross+ST" ? true : false
uMACrossFilter = filterOption == "MACross" ? true : false
uMACrossSTFilter = filterOption == "MACross+ST" ? true : false
uMACross3xMAFilter = filterOption == "MACross+3xMA" ? true : false
disable3xMAFilter = disableFastMAFilter and disableMediumMAFilter and disableSlowMAFilter
u3xMATrendFilter := disable3xMAFilter? false : u3xMATrendFilter
disableAllFilters = u3xMATrendFilter or uSuperTrendFilter or uBothTrendFilters or uOI3xMAFilter or uOISTFilter or
uOIMACrossFilter or uMACrossFilter or uMACrossSTFilter or uMACross3xMAFilter? false : true
disableAllFilters := filterOption == "No Alerts"? false : disableAllFilters
uSuperTrendFilter := filterOption == "No Alerts"? false : uSuperTrendFilter
u3xMATrendFilter := filterOption == "No Alerts"? false : u3xMATrendFilter
uBothTrendFilters := filterOption == "No Alerts"? false : uBothTrendFilters
uOIMACrossFilter := filterOption == "No Alerts"? false : uOIMACrossFilter
uOI3xMAFilter := filterOption == "No Alerts"? false : uOI3xMAFilter
uOISTFilter := filterOption == "No Alerts"? false : uOISTFilter
uMACrossFilter := filterOption == "No Alerts"? false : uMACrossFilter
uMACrossSTFilter := filterOption == "No Alerts"? false : uMACrossSTFilter
uMACross3xMAFilter := filterOption == "No Alerts"? false : uMACross3xMAFilter
dodgerblue = #1E90FF
lightcoral = #F08080
buyColour = green
sellColour = #f44336
buyclr = buyColour_=="Lime"?lime: buyColour_=="Aqua"?aqua: buyColour_=="DodgerBlue"?dodgerblue: buyColour_=="Gray"?gray: buyColour_=="Yellow"?yellow:green
sellclr = sellColour_=="Red"?red: sellColour_=="Fuchsia"?fuchsia: sellColour_=="Blue"?blue: sellColour_=="Black"?black: sellColour_=="Orange"?orange: maroon
variant(type, src, len) =>
v1 = sma(src, len)
v2 = ema(src, len)
v3 = wma(src, len)
v4 = vwma(src, len)
v5 = 0.0
v5 := na(v5[1]) ? sma(src, len) : (v5[1] * (len - 1) + src) / len
v6 = 2 * v2 - ema(v2, len)
v7 = 3 * (v2 - ema(v2, len)) + ema(ema(v2, len), len)
v8 = wma(2 * wma(src, len / 2) - wma(src, len), round(sqrt(len)))
v11 = sma(sma(src,len),len)

a1 = exp(-1.414*3.14159 / len)
b1 = 2*a1*cos(1.414*3.14159 / len)
c2 = b1
c3 = (-a1)*a1
c1 = 1 - c2 - c3
v9 = 0.0
v9 := c1*(src + nz(src[1])) / 2 + c2*nz(v9[1]) + c3*nz(v9[2])

e = ema(v1, len)
v10 = v1+(v1-e)

type=="EMA"?v2 : type=="WMA"?v3 : type=="VWMA"?v4 : type=="SMMA"?v5 : type=="DEMA"?v6 : type=="TEMA"?v7 : type=="HullMA"?v8 : type=="SSMA"?v9 : type=="ZEMA"?v10 : type=="TMA"? v11: v1

ma_fast = variant(typeFast, ma_src, lenFast)
ma_medium = variant(typeMedium, ma_src, lenMedium)
ma_slow = variant(typeSlow, ma_src, lenSlow)
ma_coloured = variant(typeColoured, srcColoured, lenColoured)
clrdirection = 1
clrdirection := rising(ma_coloured,2) ? 1 : falling(ma_coloured,2)? -1 : nz(clrdirection[1],1)

madirection = ma_fast>ma_medium and ma_medium>ma_slow? 1 : ma_fast<ma_medium and ma_medium<ma_slow? -1 : 0
madirection := disableSlowMAFilter? ma_fast>ma_medium? 1 : ma_fast<ma_medium? -1 : 0 : madirection
madirection := disableMediumMAFilter? ma_fast>ma_slow? 1 : ma_fast<ma_slow? -1 : 0 : madirection
madirection := disableFastMAFilter? ma_medium>ma_slow? 1 : ma_medium<ma_slow? -1 : 0 : madirection
madirection := disableFastMAFilter and disableMediumMAFilter? ma_coloured>ma_slow? 1 : -1 : madirection
madirection := disableFastMAFilter and disableSlowMAFilter? ma_coloured>ma_medium? 1 : -1 : madirection
madirection := disableSlowMAFilter and disableMediumMAFilter? ma_coloured>ma_fast? 1 : -1 : madirection

SUp=hl2-(SFactor*atr(SPd))
SDn=hl2+(SFactor*atr(SPd))
STrendUp = 0.0
STrendDown = 0.0
STrendUp := close[1]>STrendUp[1]? max(SUp,STrendUp[1]) : SUp
STrendDown := close[1]<STrendDown[1]? min(SDn,STrendDown[1]) : SDn
STrend = 0
STrend := close > STrendDown[1] ? 1: close< STrendUp[1]? -1: nz(STrend[1],1)
Tsl = STrend==1? STrendUp: STrendDown


noiupper = abs(highestbars(oiLength))
noilower = abs(lowestbars(oiLength))

dcolour = madirection==1?green:madirection==-1?red:yellow
plotshape(hideTrendDirection? na : madirection, title="3xMA Trend Direction", location=location.bottom,style=shape.square, color=dcolour,transp=10)
_3xmabuy = 0
_3xmasell = 0
_3xmabuy := clrdirection == 1 and close>ma_fast and madirection==1 ? nz(_3xmabuy[1])+1 : clrdirection == 1 and madirection==1? nz(_3xmabuy[1])>0?nz(_3xmabuy[1])+1 : 0 : 0
_3xmasell := clrdirection ==-1 and close<ma_fast and madirection==-1 ? nz(_3xmasell[1])+1 : clrdirection ==-1 and madirection==-1? nz(_3xmasell[1])>0?nz(_3xmasell[1])+1 : 0 : 0
//
// SuperTrend Filtering
stbuy = 0
stsell = 0
stbuy := clrdirection == 1 and STrend==1 ? nz(stbuy[1])+1 : 0
stsell := clrdirection ==-1 and STrend==-1 ? nz(stsell[1])+1 : 0

st3xmabuy = 0
st3xmasell = 0
st3xmabuy := (disable3xMAFilter or _3xmabuy>0) and stbuy>0 ? nz(st3xmabuy[1])+1 : 0
st3xmasell := (disable3xMAFilter or _3xmasell>0) and stsell>0 ? nz(st3xmasell[1])+1 : 0

oiMACrossbuy = 0
oiMACrosssell = 0
oi3xmabuy = 0
oi3xmasell = 0
oi3xmabuy := oiMACrossbuy>0 and (disable3xMAFilter or madirection==1)? nz(oi3xmabuy[1])+1 : 0
oi3xmasell := oiMACrosssell>0 and (disable3xMAFilter or madirection==-1)? nz(oi3xmasell[1])+1 : 0

oistbuy = 0
oistsell = 0
oistbuy := oiMACrossbuy>0 and STrend==1? nz(oistbuy[1])+1 : 0
oistsell := oiMACrosssell>0 and STrend==-1? nz(oistsell[1])+1 : 0

macrossSTbuy = 0
macrossSTsell = 0
macrossSTbuy := crossover(ma_fast,ma_coloured) and STrend==1? nz(macrossSTbuy[1])+1 : 0
macrossSTsell := crossunder(ma_fast,ma_coloured) and STrend==-1? nz(macrossSTsell[1])+1 : 0

macross3xMAbuy = 0
macross3xMAsell = 0
macross3xMAbuy := crossover(ma_fast,ma_coloured) and (disable3xMAFilter or madirection==1) ? nz(macross3xMAbuy[1])+1 : 0
macross3xMAsell := crossunder(ma_fast,ma_coloured) and (disable3xMAFilter or madirection==-1) ? nz(macross3xMAsell[1])+1 : 0

long = (u3xMATrendFilter and _3xmabuy==1) or (uSuperTrendFilter and stbuy==1) or (uBothTrendFilters and st3xmabuy==1) or
(uOI3xMAFilter and oi3xmabuy==1) or (uOISTFilter and oistbuy==1) or (uOIMACrossFilter and oiMACrossbuy==1) or
(uMACrossSTFilter and macrossSTbuy==1) or (uMACross3xMAFilter and macross3xMAbuy==1)
short = (u3xMATrendFilter and _3xmasell==1) or (uSuperTrendFilter and stsell==1) or (uBothTrendFilters and st3xmasell==1) or
(uOI3xMAFilter and oi3xmasell==1) or (uOISTFilter and oistsell==1) or (uOIMACrossFilter and oiMACrosssell==1) or
(uMACrossSTFilter and macrossSTsell==1) or (uMACross3xMAFilter and macross3xMAsell==1)

plotshape( long ? long : na, title="Long Line Marker",
location=location.belowbar,style=shape.arrowup, color=buyclr,transp=20,size=size.auto, text='▄▄▄▄▄▄▄▄▄▄▄▄',textcolor=buyclr)
plotshape( short ? short : na, title="Short Line Marker",
location=location.abovebar,style=shape.arrowdown, color=#f44336,transp=20,size=size.auto, text='▄▄▄▄▄▄▄▄▄▄▄▄',textcolor=sellclr)

hbuy = 0
hsell = 0
hbuy := clrdirection == 1 ? nz(hbuy[1])+1 : 0
hsell := clrdirection ==-1 ? nz(hsell[1])+1 : 0
macrossbuy = 0
macrosssell = 0
macrossbuy := crossover(ma_fast,ma_coloured)? nz(macrossbuy[1])+1 : 0
macrosssell := crossunder(ma_fast,ma_coloured)? nz(macrosssell[1])+1 : 0
//
along = (disableAllFilters and hbuy==1) or (uMACrossFilter and macrossbuy==1)
ashort = (disableAllFilters and hsell==1) or (uMACrossFilter and macrosssell==1)
plotarrow( along ? 1 : ashort? -1 : na, title="ColouredMA or MACross Arrow", colorup=buyColour, colordown=sellColour, maxheight=100, minheight=50, transp=20)
long := long or along
short := short or ashort
alertcondition(long or short, title="Signal Alert",message="Sniper enter")
//EOF
 
 
  • Post #64,707
  • Quote
  • Edited 7:58am Nov 21, 2023 7:46am | Edited 7:58am
  •  GenericPanda
  • | New Member | Status: Member | 6 Posts
Quoting Tictak
Disliked
{quote} There was an error in the code. That's why it took so long to load in the terminal. Pruebe este indicador. {file}
Ignored
I see, thank you very much for the assistance. The error was most probably due to my crude modification, as the script was originally only supposed to display current daily high-low, I modified it to show previous day. I will try it out.
Hope you have a wonderful day and Thank you once again, TicTak!

Edit: It worked like a charm, I tried to reread the code, but its a bit too cryptic for me as a layman to understand the changes you have made to make it much more efficient but, I truly appreciate the help, especially since you give it an "enum Timeframe" allowing for customization of the period in the MT4 itself. It's really helpful, since last time I actually did it manually and ended up with 3 different script, all three of which performed really slowly.
 
 
  • Post #64,708
  • Quote
  • Nov 21, 2023 10:30am Nov 21, 2023 10:30am
  •  FxArt.Trader
  • Joined Jul 2022 | Status: Member | 139 Posts
Quoting GenericPanda
Disliked
{quote} I see, thank you very much for the assistance. The error was most probably due to my crude modification, as the script was originally only supposed to display current daily high-low, I modified it to show previous day. I will try it out. Hope you have a wonderful day and Thank you once again, TicTak! Edit: It worked like a charm, I tried to reread the code, but its a bit too cryptic for me as a layman to understand the changes you have made to make it much more efficient but, I truly appreciate the help, especially since you give it an "enum...
Ignored
hi, try this one
https://www.forexfactory.com/thread/...0#post14638460
The Theory of Everything is Liquidity
 
 
  • Post #64,709
  • Quote
  • Nov 21, 2023 10:47am Nov 21, 2023 10:47am
  •  wajdibrinssi
  • | Joined Apr 2017 | Status: Junior Member | 2 Posts
I am looking for someone who can create an expert advisor for my simple and profitable strategy (for free)
 
 
  • Post #64,710
  • Quote
  • Nov 21, 2023 11:28am Nov 21, 2023 11:28am
  •  ABL123
  • | New Member | Status: Junior Member | 2 Posts
Hello, can you please help me?
I want an indicator that scans the hidden divergence and regular divergence of the MACD with the following instructions and shows it to me.

-It should check "hidden divergence" with the default MACD(12,26,9) - From the current candle to a maximum of 60 candles befor it.
-and then check for the "regular divergence" with MACD(6,13,4) between "hidden divergence" - From the current candle to a maximum of 30 candles befor it.

can anyone code this indicator for me?
 
 
  • Post #64,711
  • Quote
  • Nov 21, 2023 11:41am Nov 21, 2023 11:41am
  •  aliloo
  • | Joined May 2014 | Status: Member | 22 Posts
Quoting BestTraderEv
Disliked
{quote} {file}
Ignored
this indicator not fixed. please try again

thanks
 
 
  • Post #64,712
  • Quote
  • Nov 21, 2023 2:52pm Nov 21, 2023 2:52pm
  •  BestTraderEv
  • Joined Mar 2022 | Status: Member | 1,734 Posts
Quoting aliloo
Disliked
{quote} this indicator not fixed. please try again thanks
Ignored
I just checked in tester and I see exactly the same arrows as on realtime chart.
Live chart:
Attached Image (click to enlarge)
Click to Enlarge

Name: 2023-11-21_205315.jpg
Size: 160 KB

Tester chart:
Attached Image (click to enlarge)
Click to Enlarge

Name: 2023-11-21_205334.jpg
Size: 332 KB
 
1
  • Post #64,713
  • Quote
  • Nov 21, 2023 3:10pm Nov 21, 2023 3:10pm
  •  aliloo
  • | Joined May 2014 | Status: Member | 22 Posts
Quoting BestTraderEv
Disliked
{quote} I just checked in tester and I see exactly the same arrows as on realtime chart. Live chart: {image} Tester chart: {image}
Ignored
it is repaint in realtime.
others coders, please helpe
thanks
 
 
  • Post #64,714
  • Quote
  • Nov 21, 2023 3:13pm Nov 21, 2023 3:13pm
  •  BestTraderEv
  • Joined Mar 2022 | Status: Member | 1,734 Posts
Quoting aliloo
Disliked
{quote} it is repaint in realtime. others coders, please helpe thanks
Ignored
Yes, all such indicators repaint.
There is no fix for repainting.
Even those that have "nrp" in their name also, usually repaint.
A mathematical formula for predicting the future price or movement of price does not exist!

Here is one version that claims to be NRP:
Attached File(s)
File Type: mq4 Support and Resistance Breakout Arrows NRP mrtools.mq4   10 KB | 156 downloads
 
1
  • Post #64,715
  • Quote
  • Nov 21, 2023 4:04pm Nov 21, 2023 4:04pm
  •  jeanlouie
  • Joined Dec 2010 | Status: Member | 1,756 Posts
Quoting GenericPanda
Disliked
{quote}...
Ignored
Quote
Disliked
...difference...one used a predefined array (MT4) with value ready for access... while the other use a timeseries function (MT5), which...not readily available
Yes, but that is not to say that timeseries functions are bad, just that other symbol/tf (which are settings to the function) data has to be physically downloaded first, whereas the predefined stuff is already present as what you see on the chart.

Quote
Disliked
is a reason why one would prefer using the timeseries function
- other symbol/tf, look at the parameters for the functions, they ask for symbol and tf, that means you can get price data from another symbol and/or tf
- any delay with accessing other symbol/tf data is acceptable, the delay only happens once when requested if the data isn't already present
- note that if you were to use timeseries functions and just call the current chart symbol and tf (or another symbol or tf that you've already called), then there would be no noticeable delay
- converting from mql4 to mql5, mql5 doesn't have predefined timeseries arrays of Time[], Open[] etc which can be used anywhere in a mql4 file, mql5 does have time[] and open[] etc available only inside oncalc(), but not outside, so if there is a use of say Volume[] somewhere in mql4, in mql5 it has to be volume[] if inside oncalc() or if anywhere can be iVolume(). Because it can be used outside oncalc(), iVolume() would be used instead if one were to do a find-replace with say Close[i] in mql4 with iClose(sym,tf,i) usable in both mql4 and mql5.
 
 
  • Post #64,716
  • Quote
  • Nov 21, 2023 6:14pm Nov 21, 2023 6:14pm
  •  Samalin
  • Joined Apr 2017 | Status: Member | 861 Posts
Quoting jeanlouie
Disliked
{quote} Need an example of this, what do I do to recreate the issue?
Ignored
Master this is what i mean, it was working fine all through yesterday, when it stop printing the candles i double click and ok, all other candles disappear
if you noticed i add the stoch, but i dont understand what the stoch is doing to it to stop working and i dont want to have double window
this happens to all of them but this particular is the W6MA
Attached Image (click to enlarge)
Click to Enlarge

Name: FF.png
Size: 5 KB
 
 
  • Post #64,717
  • Quote
  • Nov 21, 2023 8:04pm Nov 21, 2023 8:04pm
  •  jeanlouie
  • Joined Dec 2010 | Status: Member | 1,756 Posts
Quoting Samalin
Disliked
{quote} Master this is what i mean, it was working fine all through yesterday, when it stop printing the candles i double click and ok, all other candles disappear if you noticed i add the stoch, but i dont understand what the stoch is doing to it to stop working and i dont want to have double window this happens to all of them but this particular is the W6MA {image}
Ignored
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.
 
 
  • Post #64,718
  • Quote
  • Nov 21, 2023 9:29pm Nov 21, 2023 9:29pm
  •  Dimadu
  • | Joined Dec 2022 | Status: Member | 8 Posts
plz coders i have that indicator that i want him to draw a arrow when the histo bar is smaller than the previous one.

The same rule applies when the histo is green or red.

The arrows must have specific buffers. And a new parameter would be nice, to turn on or off "show arrows".
Attached Image (click to enlarge)
Click to Enlarge

Name: solar1.PNG
Size: 14 KB
Attached File(s)
File Type: mq4 Solar Winds joy - histo (no repaint with alert).mq4   5 KB | 108 downloads
 
 
  • Post #64,719
  • Quote
  • Nov 22, 2023 9:25am Nov 22, 2023 9:25am
  •  pipbomber
  • | Joined Sep 2019 | Status: Member | 3 Posts
hello guys can anyone code a gap indicator for mt5 please i want it to appear as the one on the picture below
Attached Image (click to enlarge)
Click to Enlarge

Name: Capture.PNG
Size: 8 KB
 
 
  • Post #64,720
  • Quote
  • Nov 22, 2023 3:34pm Nov 22, 2023 3:34pm
  •  Gift96
  • | New Member | Status: Junior Member | 1 Post
Attached Image (click to enlarge)
Click to Enlarge

Name: screenshot.png
Size: 49 KB

hi guys am new here and i help please...to those who know how to "code mt4 indicators" can someone divide the "order block" part on this indicator in the attachment picture?????
 
 
  • Platform Tech
  • /
  • I will code your EAs and Indicators for no charge
  • Reply to Thread
    • 1 32343235Page 323632373238 3240
    • 1 Page 3236 3240
64 traders viewing now, 6 are members:
citadella88
,
Victorvupro
,
Invisible
,
sparkUP2329
,
MwlRCT
,
Elvxyz20
  • 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