can someone make an MTF version of the attached Volatility-pivot indicator
Thank you in advance
Thank you in advance
Attached File
Fixing Your Indicators or EAs (Free) 449 replies
Coding robots and indicators in C# for no charge (cTrader API) 180 replies
Oanda MT4 - Indicators and EAs not showing 1 reply
EAs and indicators relating to moutaki... 22 replies
InterbankFX has loaded its MT4 platform with custom EAs, indicators and scripts 1 reply
Disliked{quote} "stochastic divergence mtf alerts nmc 2" Try this of Mladen's extremely extended ver regarding divergences - almost mtf (not interpolated yet) draw lines identifier capable (means users can apply multiple instances by differing ID,by adding any name or number) choice for ma methods for signaling notification included too latest mt4 compatible ver the lowest sw in picture {image} {image} {image} {file}Ignored
Disliked{quote} I added alert that will check once per hour and if price has crossed compared to price of 1 hr ago. {file}Ignored
//+------------------------------------------------------------------+ //| MA_BBands_V3.2.mq4 | //| Copyright 2005-2014, MetaQuotes Software Corp. | //| http://www.mql4.com | //| E-MAIL:[email protected] | //+------------------------------------------------------------------+ #property copyright "2005-2014, MetaQuotes Software Corp." #property link "http://www.mql4.com" #property indicator_chart_window #property indicator_buffers 5 #property indicator_color1 White #property indicator_color2 White #property indicator_color3 Blue #property indicator_color4 Red #property indicator_color5 Yellow #property indicator_width1 2 #property indicator_width2 2 #property indicator_width3 1 #property indicator_width4 1 #property indicator_width5 1 extern int MAPeriod = 9 ; extern int OsMA = 3 ;//5 extern int HiLow_Find_Period = 3;//5;9 //------------------------- extern double Bands_Deviations = 0.4 ; //0.5;0.8;1.0 extern int BB_Period = 20 ; extern int Dist = 2 ; //------------------------- double ExtMapBuffer1[]; double ExtMapBuffer2[]; double ExtMapBuffer3[]; double ExtMapBuffer4[]; double ExtMapBuffer5[]; double ExtMapBuffer6[]; double ExtMapBuffer7[]; double Get_Point; //------------------- int init() { IndicatorBuffers(7); SetIndexStyle(0,DRAW_LINE); SetIndexBuffer(0,ExtMapBuffer5); SetIndexStyle(1,DRAW_LINE); SetIndexBuffer(1,ExtMapBuffer6); SetIndexStyle(2,DRAW_ARROW); SetIndexArrow(2,233); SetIndexBuffer(2,ExtMapBuffer3); SetIndexEmptyValue(2,0.0); SetIndexStyle(3,DRAW_ARROW); SetIndexArrow(3,234); SetIndexBuffer(3,ExtMapBuffer4); SetIndexEmptyValue(3,0.0); SetIndexStyle(4,DRAW_LINE); SetIndexBuffer(4,ExtMapBuffer7); SetIndexStyle(5,DRAW_NONE); SetIndexBuffer(5,ExtMapBuffer1); SetIndexStyle(6,DRAW_NONE); SetIndexBuffer(6,ExtMapBuffer2); if(Digits==2 || Digits==4) Get_Point=Point; else if(Digits==3 || Digits==5) Get_Point=10*Point; return(0); } //---------------------------------------- int deinit() {return(0);} //---------------------------------------- int start() { Comment( " MA_BBands_V3.2" ); int counted_bars=IndicatorCounted(); if(counted_bars<0) return(-1); if(counted_bars>0) counted_bars--; int limit=Bars-counted_bars; double OsMA_Now, OsMA_Pre; for(int i=limit-1; i>=0; i--) { double MAUP1 = iMA(NULL,0,MAPeriod,-15,MODE_SMA,PRICE_HIGH,i); double BB_UP = iBands(NULL,0,BB_Period,Bands_Deviations,0,PRICE_HIGH,MODE_UPPER,i+4); double MA_HIGH = iMA(NULL,0,HiLow_Find_Period,0,MODE_LWMA,PRICE_HIGH,i); double MADN1 = iMA(NULL,0,MAPeriod,-15,MODE_SMA,PRICE_LOW,i); double BB_DN = iBands(NULL,0,BB_Period,Bands_Deviations,0,PRICE_LOW ,MODE_LOWER,i+4); double MA_LOW = iMA(NULL,0,HiLow_Find_Period,0,MODE_LWMA,PRICE_LOW,i); double SEC_UP = iMA(NULL,0,9,-7,MODE_SMA,PRICE_HIGH,i); double SEC_DN = iMA(NULL,0,9,-7,MODE_SMA,PRICE_LOW,i); //-------------------------------------------------------------------- if (MAUP1>BB_UP) {ExtMapBuffer1[i]=MAUP1+Dist*Get_Point; BB_UP=EMPTY_VALUE ;} else if (MAUP1<BB_UP) {ExtMapBuffer1[i]=BB_UP ; MAUP1=EMPTY_VALUE ;} if( MADN1 >0.0 ) { if ( MADN1<BB_DN) {ExtMapBuffer2[i]=MADN1-Dist*Get_Point; BB_DN=EMPTY_VALUE ;} else if (MADN1>BB_DN) { ExtMapBuffer2[i]=BB_DN ; MADN1=EMPTY_VALUE ; } } if (MADN1 ==0.0 ) { ExtMapBuffer2[i]=BB_DN; MADN1=EMPTY_VALUE ;} //------------------------------------------------------------ //------------------------------------------------------------ if (SEC_UP>ExtMapBuffer1[i]) {ExtMapBuffer5[i]=SEC_UP+Dist*Get_Point; ExtMapBuffer1[i]=EMPTY_VALUE ;} else if (SEC_UP<ExtMapBuffer1[i]) {ExtMapBuffer5[i]=ExtMapBuffer1[i] ; SEC_UP=EMPTY_VALUE ;} if( SEC_DN >0.0 ) { if ( SEC_DN<ExtMapBuffer2[i]) {ExtMapBuffer6[i]=SEC_DN-Dist*Get_Point; ExtMapBuffer2[i]=EMPTY_VALUE ;} else if (SEC_DN>ExtMapBuffer2[i]) { ExtMapBuffer6[i]=ExtMapBuffer2[i] ; SEC_DN=EMPTY_VALUE ; } } if (SEC_DN ==0.0 ) { ExtMapBuffer6[i]=ExtMapBuffer2[i]; SEC_DN=EMPTY_VALUE ;} //------------------------------------------------------------ OsMA_Now = iOsMA(NULL,0,5,9,OsMA,PRICE_CLOSE,i) ; OsMA_Pre = iOsMA(NULL,0,5,9,OsMA,PRICE_CLOSE,i+1) ; //------------------- if((OsMA_Now>0 && OsMA_Pre<0)&&(MA_LOW < ExtMapBuffer6[i]) && (Low[i] < ExtMapBuffer6[i])) //if((OsMA_Now>0 && OsMA_Pre<0)&&(MA_LOW < ExtMapBuffer6[i]) && (Close[i] < ExtMapBuffer6[i])) { ExtMapBuffer3[i+1] = Low[i]-2*Get_Point; } if((OsMA_Now<0 && OsMA_Pre>0) && (MA_HIGH > ExtMapBuffer5[i]) && (High[i] > ExtMapBuffer5[i])) //if((OsMA_Now<0 && OsMA_Pre>0) && (MA_HIGH > ExtMapBuffer5[i]) && (Close[i] > ExtMapBuffer5[i])) { ExtMapBuffer4[i+1] = High[i]+2*Get_Point; } ExtMapBuffer7[i]=(ExtMapBuffer5[i]+ExtMapBuffer6[i])/2.0 ; } WindowRedraw(); RefreshRates(); return(0); } //--------------------------------
Disliked{quote} Would ypu please post the indicator or show the adress of the indicator to download?Ignored
DislikedI need a coder to help me code this indicator below in a way that it only displays from left of the mt4 chart to the current time in price and not extend to the far right hand side of the mt4 chart. Thanks {file}Ignored
Disliked{quote} Here is demo version that should work for you as sample. Please use as reference and you can fix yours. You can modify where you calculate MA to get typical_price. I just used period of 1 to get typical price MA. Or you can calcurate yourself like Typical price = (high + low + close)/3 basically, you have to have two buffers - one for red and one for green. now, check vol * typical price for privious bar and current bar. if current bar is bigger -> store in Buffer 1 ( green ) if current bar is smaller -> store in Buffer 2 ( red ) that is...Ignored
Dislikeddoes anyone have a simple moving average or linear weighted moving average that is coded not using "iMA". i would like to see the code as i am learning mql4 and trying to build things from scratch so that i can learn well. unfortunately most mt4 indicators use the built in mql4 shortcuts which doesn't let me understand what they are doing deeply. failing that could someone code me a simple moving average or lwma that only uses "for loops" and normal "c" like functions, and not "ima" thank you.Ignored
Dislikedif using iMA https://docs.mql4.com/indicators/ima how would one use other prices apart from ENUM_APPLIED_PRICE https://docs.mql4.com/constants/indi...ied_price_enum ? i would like to make my own price constant to apply ie (open+close+high+low)/4. tyIgnored
Disliked{quote} Those equations are written on many webpages teaching people about how the indicators are calculated. Then you can simply translate the equation into MQL4. Just search for them. I also practiced that by writing the equations into TradingView. ‘Cause I was to overlaying a Renko chart on time-based candle chart, so for any MAs for Renko, I had to program them manuallyIgnored
Dislikeddoes anyone have a simple moving average or linear weighted moving average that is coded not using "iMA"....Ignored
Disliked{quote} Get started on something yourself quickly. Start a new indicator, put in 1 buffer line, in the oncalc candle loop give that buffer the values of the close of every candle, thats the simplest buffer line that'll show up on the chart, that's a start to doing whatever you want. Next step is make your own simple moving average, every index in that buffer will have your inbuilt sma value at that index in the chart. You'll need a separate function for it, how would you do a sma function?Ignored