William1713006271 Posted June 17, 2009 Report Share Posted June 17, 2009 Here's a request from bro Gyverd, an indicator to predict high and low for his friend Roman Kirillov. Regards, #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Green #property indicator_color2 Green //---- buffers double P1Buffer[]; double P2Buffer[]; //---- extern string IIIIIIIII = "D=1440, W=10080, MN=43200"; extern int myPeriod = PERIOD_D1; //---- double H,L; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int init(){ SetIndexBuffer(0, P1Buffer); SetIndexBuffer(1, P2Buffer); //---- SetIndexStyle(0, DRAW_LINE, STYLE_SOLID, 2); SetIndexStyle(1, DRAW_LINE, STYLE_SOLID, 2); //---- Comment("Created by: William Zhang - Roman_Kirilov_HL"); return(0); } //+------------------------------------------------------------------+ //| Custor indicator deinitialization function | //+------------------------------------------------------------------+ int deinit(){ Comment(""); return(0); } //+------------------------------------------------------------------+ //| Custom indicator iteration function | //+------------------------------------------------------------------+ int start(){ int i, dayi, counted_bars = IndicatorCounted(); if(counted_bars < 0) return(-1); if(counted_bars > 0) counted_bars--; int limit = Bars - counted_bars; for(i = limit - 1; i >= 0; i--){ dayi = iBarShift(Symbol(), myPeriod, Time[i], false); H = iClose(Symbol(), myPeriod,dayi+1) + (iHigh(Symbol(), myPeriod,dayi+1) - iLow(Symbol(), myPeriod, dayi+1)) / 2; L = iClose(Symbol(), myPeriod,dayi+1) - (iHigh(Symbol(), myPeriod,dayi+1) - iLow(Symbol(), myPeriod, dayi+1)) / 2; //---- P1Buffer[i] = H; P2Buffer[i] = L; } //---- return(0); } //+------------------------------------------------------------------+ Quote Ore no Shinka Hikari yo Hayai. Zen Uchi o Nani no Mono Ore no Shinka Chuito Kore Nai. Ten no Michi yo Iki. Subete o Sukosadoru Otoko. Link to comment Share on other sites More sharing options...
⭐ Kardel Sharpeye Posted June 17, 2009 Report Share Posted June 17, 2009 Re: Roman Kirillov HL prediction :-bd :-bd :-bd BIG THANKS ! @ GYVERD & WIILY Quote [spoiler=stttttt... hey You .. YES you ... let tell me you A SECRET ... click here ... yeah ... click on this button ] II Vocabulary that you should know: PLON=it mean someting that really bad ... REEEELY BAD like a BLOOD sucker stuff ... CEMPLON= the PRODUCER OF SOMETHING THAT CLAIM GOOD but IT IS NOT ... and WASTED all YOUR MONEY! ---- make sure Oxford or Cambridge knows it ...--- K =D> Link to comment Share on other sites More sharing options...
save2009 Posted June 17, 2009 Report Share Posted June 17, 2009 Re: Roman Kirillov HL prediction Thank you ^:)^ ^:)^ ^:)^ Quote Link to comment Share on other sites More sharing options...
sam_konna Posted June 20, 2009 Report Share Posted June 20, 2009 Re: Roman Kirillov HL prediction Where's the ex.4/mq.4 Indicators files Download Link; anybody can share ? :-/ Quote Link to comment Share on other sites More sharing options...
Starting Posted June 20, 2009 Report Share Posted June 20, 2009 Re: Roman Kirillov HL prediction Where's the ex.4/mq.4 Indicators files Download Link; anybody can share ? :-/ Open Metaeditor from Metatrader (you can select any EA in Metatrader and select edit it, Metaeditor will be opened) and create new file, then replace standard template in this new file with the code from the first message. Push save button and you'll get mq4. Push compile button and you'll get its ex4. Enjoy! ) Quote Link to comment Share on other sites More sharing options...
Hakim123 Posted August 17, 2009 Report Share Posted August 17, 2009 Re: Roman Kirillov HL prediction i think ..this is one of the zigzag family..instead of using line to show zigzag,this one using dots... Quote Link to comment Share on other sites More sharing options...
⭐ deadsoul Posted August 17, 2009 Report Share Posted August 17, 2009 Re: Roman Kirillov HL prediction guys..just copy the code into new text document and change the file extension from .txt to .mq4 you can name the indicator whatever you like ..... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.