Jump to content

Roman Kirillov HL prediction


Recommended Posts

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);
 }
//+------------------------------------------------------------------+

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

Re: Roman Kirillov HL prediction

 

:-bd :-bd :-bd

 

BIG THANKS ! @ GYVERD & WIILY

[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

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! )

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...