Software Developer and Music Producer
News Fundamentals All Time Return:
1,159.1%
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} Do you think even 500 is too much? If we want to check history, yes, but for live trading, it's too much. I think it would have been better if you had defined a variable for the input so that the user could specify the number of days. {image}Ignored
Disliked{quote} I applied this method in your/our code, but I can't say if it's faster or the same. It always takes one or even two TF switches in order to get the full picture, and always the last bar of the first closed VWAP Plot Period is clean before ticks come in, but gets filled on new ticks. Also, I would rather we reintroduced: input int No_Of_VWAPs = 3; // How Many VWAP Sets to Plot and: limit = MathMin(limit, No_Of_VWAPs);Ignored
Disliked{quote} I think it would have been better if you had defined a variable for the input so that the user could specify the number of days. {image}Ignored
Disliked{quote} Yes, 5 is perfect! 500 is way too much now that I think about it. I think I will default it to 30 or so. I forgot that we are shifting.Ignored
Disliked{quote}Also, I would rather we reintroduced: input int No_Of_VWAPs = 3; // How Many VWAP Sets to Plot and: limit = MathMin(limit, No_Of_VWAPs);Ignored
DislikedThanks for the above update! I've been playing around with this, too. Try this out, now! {file}Ignored
ArraySetAsSeries(time,arr); ArraySetAsSeries(open,arr); ArraySetAsSeries(high,arr); ArraySetAsSeries(low,arr); ArraySetAsSeries(close,arr); ArraySetAsSeries(tick_volume,arr); ArraySetAsSeries(volume,arr); ArraySetAsSeries(spread,arr);
Disliked{quote} That works great, I see you added ArraySetAsSeries(time,arr); ArraySetAsSeries(open,arr); ArraySetAsSeries(high,arr); ArraySetAsSeries(low,arr); ArraySetAsSeries(close,arr); ArraySetAsSeries(tick_volume,arr); ArraySetAsSeries(volume,arr); ArraySetAsSeries(spread,arr); and then used the array values. That will speed up the calculations for sure, although when I make the class I will revert back or use CopyRates.Ignored
DislikedHi BEST please can you help in compilation, and checking out this chatgpt generated code its all about the close of the 3rd candle on 4hrs chart on all pairs i told the instrument to help in generating an arrow alert for BUY/SELL on the close of that 3rd candle. Thanks /* 4H Third Candle Close Arrow Alert Indicator Timeframe: H4 */ #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Blue // Buy Arrow #property indicator_color2 Red // Sell Arrow // Arrow Buffers double BuyArrowBuffer[]; double SellArrowBuffer[];...Ignored
Disliked{quote} For a while, I also thought that VWAP may be helpful, but recently I like this setup the best! IDEA!Maybe add the VWAP calculation option to MAGIQWAVE?
Ignored
Disliked{quote} //+------------------------------------------------------------------+ //| SWING LEVELS | //+------------------------------------------------------------------+ #property indicator_chart_window #property indicator_buffers 13 #property indicator_plots 7 input color BullClr = clrBlue; input color BearClr = clrRed; input int ATRPeriod = 14; // ATR period for volatility calculation input double ATRMultiplier = 2.0; // Multiplier for ATR to determine swing size input int TrendDays = 5; // Number of days to display rectangles (default is 5) input...Ignored
int ATR_handle;
double ATR[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int OnInit()
{
ATR_handle = iATR(NULL, PERIOD_CURRENT, 14);
if(ATR_handle < 0)
{
Print("The creation of iATR has failed: ATR_handle=", INVALID_HANDLE);
Print("Runtime error = ", GetLastError());
return(INIT_FAILED);
}
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int OnCalculate(const int rates_total,
const int prev_calculated,
const datetime& time[],
const double& open[],
const double& high[],
const double& low[],
const double& close[],
const long& tick_volume[],
const long& volume[],
const int& spread[])
{
if(BarsCalculated(ATR_handle) <= 0)
return(0);
if(CopyBuffer(ATR_handle, 0, 0, rates_total, ATR) <= 0) return(rates_total);
ArraySetAsSeries(ATR, true);
return(rates_total);
}
//+------------------------------------------------------------------+ Disliked{quote} i don't have the time to review your code. I think i don't perform well with this type of code, but i don't think there's a similar code out there. {image} also, to calculate iatr in metatrader 5, you need to define a handle or write a separate calculation code that doesn't use a handle. Iatr + handle in mql5 code: Int atr_handle; double atr[]; //+------------------------------------------------------------------+ //| custom indicator initialization function | //+------------------------------------------------------------------+ int oninit()...Ignored
Disliked{quote} I wanted to explain this part, but I didn't have time. I don't know anything about the performance of MAGIQWAVE, and I have no idea how it works. One of my friends strongly recommended using VWAP, but I didn't take it seriously because price action was all that mattered to me, and I had gotten good results from it. I rejected all indicators that wanted to provide additional signals, and I even stopped using MACD, which I had used consistently for at least two years and had yielded results. Recently, I added MACD back to my chart, and the...Ignored
ExtMapRes1[i] = meanMa + (0.618 * dSD);
ExtMapRes2[i] = meanMa + (1.618 * dSD);
ExtMapRes3[i] = meanMa + (3.618 * dSD); PP = (hi+lo+cl)/3.0;
Disliked{quote} Also, to calculate iATR in MetaTrader 5, you need to define a handle or write a separate calculation code that doesn't use a handle.Ignored
DislikedHi coders, I have been through previous posts but couldn't find desirable EA, I am looking for Quasimodo EA, can someone please provide,?thanks for your helpIgnored
Disliked{quote} I reset the system and opened and closed MetaTrader for each test to see if the result changes, but I didn't feel much of a difference. It seems like each one sometimes encounters a bug and slows down. I think the best time for testing is when the market is closed so that everything is consistent for testing.Ignored
Disliked{quote} The basic point is that: we should never trust any indicator!!! The MAGIQWAVE is simply a set of 3 MAs: High, Low, and Medium. I use Period 100 and LWMA, like this: {image}The Stdev bands are hard-coded like this: ExtMapRes1 = meanMa + (0.618 * dSD); ExtMapRes2 = meanMa + (1.618 * dSD); ExtMapRes3 = meanMa + (3.618 * dSD); Now, those bands can not be "trusted" as SRs, just like the VWAP Stdev extensions can not be "trusted". My main MAGIQWVE serves as the main trend SR - so, the idea is to observe PA, especially when the MW is broken...Ignored
Disliked{quote} One more thing which I noticed: Yesterday I was still working with my older MT5 install and I didn't find this: {image}Which I can see in the new install. PS. WOW, why didn't I see it yesterday??? {image} This can be the major source of the problems!Ignored
Disliked{quote} One more thing which I noticed: Yesterday I was still working with my older MT5 install and I didn't find this: {image}Which I can see in the new install. PS. WOW, why didn't I see it yesterday??? {image} This can be the major source of the problems!Ignored
Disliked{quote} Hi Best, when you can, take a look at the last message I sent you PV. ThanksIgnored
Disliked{quote} You should know by now that I don't answer such PMs... Everyone has their own problems, and nobody can solve them but the person with the problem. Problems don't exist - there are only solutions. Every problem contains its solution.Ignored