Re: Coding Help
722Post your queries/requests at one place,usually within belonging threads so you can have and know the answer,dont flood forum with same postsmehkhan wrote: Wed Apr 25, 2018 7:51 pm rsi ma mtf alerts + arrows 2.1.mq4
Please add "Arrow on Newest" option in this indicator. Regards.
Mrtools already coded and posted a version (2.2) on your request
Indicator is just a tool.
Use it only if it can benefit you. Leave it if you don't know how to use it optimally.
Use it only if it can benefit you. Leave it if you don't know how to use it optimally.
Re: Coding Help
723hi someone please help..i am trying to see the ticks as compared to those for a few candles back.
This is what I have coded
Unfortunately it does not display anything. Please some tell me how to code it correctly.
This is what I have coded
Code: Select all
#property indicator_separate_window
#property indicator_buffers 1
#property indicator_color1 ForestGreen
double DUptick1[];
double DUptick[];
extern int PeriodOC=5;
//+------------------------------------------------------------------+
//| indicator initialization |
//+------------------------------------------------------------------+
int init()
{
IndicatorShortName("VolumeDif("+Symbol()+")");
SetIndexBuffer(0,DUptick);
SetIndexStyle(0,DRAW_HISTOGRAM,0,4);
return(0);
}
//+------------------------------------------------------------------+
//| indicator function |
//+------------------------------------------------------------------+
int start()
{
int counted_bars=IndicatorCounted();
int i,limit;
//----
if(counted_bars==0)
limit=Bars-PeriodOC;
if(counted_bars>0)
limit=Bars-counted_bars;
limit--;
for(i=limit; i>=0; i--)
DUptick1[i]= ((Volume[i]+(Close[i]-Open[i])/Point)/2);
DUptick[i]= DUptick1[i]-DUptick1[i+PeriodOC];
//----
return(0);
}
//+------------------------------------------------------------------+
Know Thy Setup. Know Thyself.
Re: Coding Help
724This version working now,, added this quote from the indicator's creator ,Whistler Active Volatility Energy •Price Mass is not a directional oscillatorthiru wrote: Wed Apr 25, 2018 3:29 pm Hi mntiwana,
working on channel, found this code. it has no author or credits.
not compatible with new mt4 builts. will you be able to fix this, please?
thanks in advance.
//
Wave-Pm_smooth_multiple_alerts.mq4
it's more of a gauge of potential energy left in the distribution cycle from Mark Whistler's book "Volatility Illuminated".
Re: Coding Help
725Thank you MrTools, really appreciate your help.mrtools wrote: Fri Apr 27, 2018 9:43 am This version working now,, added this quote from the indicator's creator ,Whistler Active Volatility Energy •Price Mass is not a directional oscillator
it's more of a gauge of potential energy left in the distribution cycle from Mark Whistler's book "Volatility Illuminated".
surprised that you are able to find the details of this indicator.
thanks again.
Re: Coding Help
726How exactly is this supposed to look like? Because the bottom window does not show anythingmrtools wrote: Fri Apr 27, 2018 9:43 am
This version working now,, added this quote from the indicator's creator ,Whistler Active Volatility Energy •Price Mass is not a directional oscillator
it's more of a gauge of potential energy left in the distribution cycle from Mark Whistler's book "Volatility Illuminated".
Also mrtools, can pls tell what I have done wrong in previous code, maybe the looping is not correct, how to get the difference on current candle from that of the one a few candles back?
Know Thy Setup. Know Thyself.
Re: Coding Help
727Suspect the wave pm problem is the 1090 bug posted a version that should take care of it at the last post, will work on your code in a bit.shaileshm wrote: Fri Apr 27, 2018 2:49 pm
How exactly is this supposed to look like? Because the bottom window does not show anything
Also mrtools, can pls tell what I have done wrong in previous code, maybe the looping is not correct, how to get the difference on current candle from that of the one a few candles back?
Re: Coding Help
728Looking at the name guessing you were trying something like this one, also posting a version of blau tvi which uses a smoothed volume, maybe that will helpshaileshm wrote: Thu Apr 26, 2018 6:16 pm hi someone please help..i am trying to see the ticks as compared to those for a few candles back.
This is what I have coded
Unfortunately it does not display anything. Please some tell me how to code it correctly.Code: Select all
#property indicator_separate_window #property indicator_buffers 1 #property indicator_color1 ForestGreen double DUptick1[]; double DUptick[]; extern int PeriodOC=5; //+------------------------------------------------------------------+ //| indicator initialization | //+------------------------------------------------------------------+ int init() { IndicatorShortName("VolumeDif("+Symbol()+")"); SetIndexBuffer(0,DUptick); SetIndexStyle(0,DRAW_HISTOGRAM,0,4); return(0); } //+------------------------------------------------------------------+ //| indicator function | //+------------------------------------------------------------------+ int start() { int counted_bars=IndicatorCounted(); int i,limit; //---- if(counted_bars==0) limit=Bars-PeriodOC; if(counted_bars>0) limit=Bars-counted_bars; limit--; for(i=limit; i>=0; i--) DUptick1[i]= ((Volume[i]+(Close[i]-Open[i])/Point)/2); DUptick[i]= DUptick1[i]-DUptick1[i+PeriodOC]; //---- return(0); } //+------------------------------------------------------------------+
Attachments
Re: Coding Help
729Hi mntiwana, mrtools, mladen,
this is mladen's indi created probably few years back. i'm not sure if a MTF version exists for this. If not can you please make this into MTF version?
thanks in advance.
Request: sorry to post a request within this post which is against the forum rules. Since its part of the same context, i'm posting it here. Do you know if a Stoch version of the TMA centered band was created? been searching for that for a while and found only the DSS version. Prefer something very similar to the Rsi version posted here.
//
this is mladen's indi created probably few years back. i'm not sure if a MTF version exists for this. If not can you please make this into MTF version?
thanks in advance.
Request: sorry to post a request within this post which is against the forum rules. Since its part of the same context, i'm posting it here. Do you know if a Stoch version of the TMA centered band was created? been searching for that for a while and found only the DSS version. Prefer something very similar to the Rsi version posted here.
//
Re: Coding Help
730RegressionPolynomial with ATR
Hi mntiwana, mrtools, mladen,
Can you please help me to make this indicator nmc?
thanks in advance.
//
Hi mntiwana, mrtools, mladen,
Can you please help me to make this indicator nmc?
thanks in advance.
//