- #64,700
- Nov 21, 2023 1:52pm Nov 21, 2023 1:52pm
- Joined Mar 2022 | Status: Trader | 6,558 Posts
.ex4/.ex5 files can't be fixed or modified / I'm not a coder!
I will code your pivot EAs for no charge 28 replies
I will code your scalping EAs for no charge 163 replies
Oanda MT4 - Indicators and EAs not showing 2 replies
EAs and indicators relating to moutaki... 22 replies
InterbankFX has loaded its MT4 platform with custom EAs, indicators and scripts 1 reply
Disliked{quote} Need an example of this, what do I do to recreate the issue?Ignored
Disliked... both MT4 and MT5...MT4 script operates much more efficiently compared to the MT5 script... CopyTime... CopyHigh... CopyLow...... TimeMonth(Time[i]...Ignored
DislikedI try to limiting Moving Average drawing plot (input int MaxBar). But the result, after MaxBar, there's is vertical line down near to zero. I try use iClose buffer and Array Resize but the result still far from my expectation. What most effective method to remove/hide this zero value? {file} {image}Ignored
QuoteDislikedthe result, after MaxBar, there's is vertical line down near to zero
DislikedHi Jeanlouie at the moment the EA plots the lines over the whole chart {image} but I like to have the lines from start time to end of day {image} {quote}Ignored
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
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
DislikedHi, 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
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
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