Question regarding MT4:
I have built a custom indicator: "Y"
within the code Y = ( (S - e575) );
I would now like to find the moving average of Y, much like %D to %K in stochastics. I've tried:
DSI = iMA("Y",0,72,1,MODE_SMA,PRICE_CLOSE,0);
DSI = iCustom (NULL,0,"Y",0,1,0);
Neither works. To me this seems to be a simple request as I'm just looking for the 6 hour moving average of Y to be a crossover.
Any help would be appreciated. Please answer w/ the exact code as I am a trader and not a code writer thus telling me to 'loop' is of no assistance.
Thanks,
I have built a custom indicator: "Y"
within the code Y = ( (S - e575) );
I would now like to find the moving average of Y, much like %D to %K in stochastics. I've tried:
DSI = iMA("Y",0,72,1,MODE_SMA,PRICE_CLOSE,0);
DSI = iCustom (NULL,0,"Y",0,1,0);
Neither works. To me this seems to be a simple request as I'm just looking for the 6 hour moving average of Y to be a crossover.
Any help would be appreciated. Please answer w/ the exact code as I am a trader and not a code writer thus telling me to 'loop' is of no assistance.
Thanks,