Navigation´╝ÜHome > Content >

Fibonacci_Grid_EA.mq4

Time: 2017-06-10 | Download file:Fibonacci_Grid_EA.mq4

#property copyright "Copyright 2013,MetaQuotes"
#property link      "http://www.metaquotes.net"

double Gd_76;
double Gd_84;
double Gd_92;
double Gd_100;
double Gd_108;
double Gd_116;
string Gs_unused_124;
extern int NoOfBarBack4H = 160;
extern int Kperiod = 6;
extern int Dperiod = 3;
extern int Slowing = 3;
extern int MAMethod = 0;
extern int PriceField = 0;
double G_ifractals_156;
double G_ifractals_164;
int G_datetime_172;
int G_datetime_176;

// E37F0136AA3FFAF149B351F6A4C948E9
int init() {
   string name_4;
   int str_len_12;
   string Ls_20;
   double Ld_28;
   double Ld_36;
   double Ld_44;
   double Ld_52;
   string name_60;
   string Ls_84;
   string Ls_92;
   string Ls_unused_100;
   int datetime_152;
   int datetime_156;
   double Ld_164;
   iCustom(NULL, PERIOD_H1, "ZUP_v71", 0, 0);
   iCustom(NULL, PERIOD_H1, "Supply and Demand -II SupDem", 0, 0);
   Gd_76 = f0_2(PERIOD_M15, Kperiod, Dperiod, Slowing, MAMethod, PriceField, 0);
   Gd_100 = f0_3(PERIOD_M15, Kperiod, Dperiod, Slowing, MAMethod, PriceField, 0);
   Gd_84 = f0_2(PERIOD_M30, Kperiod, Dperiod, Slowing, MAMethod, PriceField, 0);
   Gd_108 = f0_3(PERIOD_M30, Kperiod, Dperiod, Slowing, MAMethod, PriceField, 0);
   Gd_92 = f0_2(PERIOD_H4, Kperiod, Dperiod, Slowing, MAMethod, PriceField, 0);
   Gd_116 = f0_3(PERIOD_H4, Kperiod, Dperiod, Slowing, MAMethod, PriceField, 0);
   Gs_unused_124 = "";
   for (int Li_0 = 0; Li_0 < ObjectsTotal(); Li_0++) {
      name_4 = ObjectName(Li_0);
      str_len_12 = StringLen(name_4);
      for (int Li_16 = 0; Li_16 < str_len_12; Li_16++) {
         if (StringSubstr(name_4, Li_16, str_len_12) == "UPZONE1") {
            Ls_20 = StringSubstr(name_4, Li_16, str_len_12);
            Ld_28 = ObjectGet(name_4, OBJPROP_PRICE1);
            Ld_36 = ObjectGet(name_4, OBJPROP_PRICE2);
            break;
         }
         if (StringSubstr(name_4, Li_16, str_len_12) == "DNZONE1") {
            Ls_20 = StringSubstr(name_4, Li_16, str_len_12);
            Ld_44 = ObjectGet(name_4, OBJPROP_PRICE1);
            Ld_52 = ObjectGet(name_4, OBJPROP_PRICE2);
            break;
         }
      }
      name_60 = ObjectName(Li_0);
   }
   string Ls_68 = "_0Triangle2_0_ExtIndicator=11_33/5/3_7_Bearish Crab";
   int str_len_76 = StringLen(Ls_68);
   for (int Li_80 = 0; Li_80 < str_len_76 - 1; Li_80++) {
      if (StringSubstr(Ls_68, Li_80, 1) == "B") {
         Ls_84 = StringSubstr(Ls_68, Li_80, 7);
         Ls_92 = StringSubstr(Ls_68, Li_80, 8);
         if (Ls_84 == "Bearish") {
            Ls_unused_100 = "TRUE";
            break;
         }
         Ls_unused_100 = "FALSE";
         break;
      }
   }
   int Li_108 = NoOfBarBack4H;
   double Ld_112 = iHigh(NULL, PERIOD_H4, iHighest(NULL, PERIOD_H4, MODE_HIGH, Li_108, 0));
   double Ld_120 = iLow(NULL, PERIOD_H4, iLowest(NULL, PERIOD_H4, MODE_LOW, Li_108, 0));
   double Ld_128 = 0;
   double Ld_136 = 0;
   int datetime_144 = iTime(NULL, PERIOD_H4, iHighest(NULL, PERIOD_H4, MODE_HIGH, Li_108, 0));
   int datetime_148 = iTime(NULL, PERIOD_H4, iLowest(NULL, PERIOD_H4, MODE_LOW, Li_108, 0));
   Ld_112 = iHigh(NULL, PERIOD_H4, iHighest(NULL, PERIOD_H4, MODE_HIGH, Li_108, 0));
   Ld_120 = iLow(NULL, PERIOD_H4, iLowest(NULL, PERIOD_H4, MODE_LOW, Li_108, 0));
   Ld_128 = 0;
   Ld_136 = 0;
   datetime_144 = iTime(NULL, PERIOD_H4, iHighest(NULL, PERIOD_H4, MODE_HIGH, Li_108, 0));
   datetime_148 = iTime(NULL, PERIOD_H4, iLowest(NULL, PERIOD_H4, MODE_LOW, Li_108, 0));
   if (datetime_148 > datetime_144) {
      for (int Li_160 = iBarShift(NULL, 0, datetime_144) - 240 / Period(); Li_160 >= iBarShift(NULL, 0, datetime_148); Li_160--) {
         if (iFractals(NULL, PERIOD_H4, MODE_UPPER, iBarShift(NULL, PERIOD_H4, Time[Li_160])) != 0.0 && Ld_128 == 0.0) {
            Ld_128 = iFractals(NULL, PERIOD_H4, MODE_UPPER, iBarShift(NULL, PERIOD_H4, Time[Li_160]));
            datetime_152 = iTime(NULL, PERIOD_H4, iBarShift(NULL, PERIOD_H4, Time[Li_160]));
         }
         f0_1("TopCh_Line", datetime_144, Ld_112, datetime_152, Ld_128, 2, STYLE_SOLID, Brown, TRUE);
         if (iFractals(NULL, PERIOD_H4, MODE_UPPER, iBarShift(NULL, PERIOD_H4, Time[Li_160])) != 0.0 && iFractals(NULL, PERIOD_H4, MODE_UPPER, iBarShift(NULL, PERIOD_H4, Time[Li_160])) > ObjectGetValueByShift("TopCh_Line",
            Li_160)) {
            Ld_128 = iFractals(NULL, PERIOD_H4, MODE_UPPER, iBarShift(NULL, PERIOD_H4, Time[Li_160]));
            datetime_152 = iTime(NULL, PERIOD_H4, iBarShift(NULL, PERIOD_H4, Time[Li_160]));
            f0_1("TopCh_Line", datetime_144, Ld_112, datetime_152, Ld_128, 2, STYLE_SOLID, Brown, TRUE);
         }
      }
      Ld_164 = 0;
      for (Li_160 = iBarShift(NULL, 0, datetime_144) - 240 / Period(); Li_160 >= iBarShift(NULL, 0, datetime_148); Li_160--) {
         if (ObjectGetValueByShift("TopCh_Line", Li_160) - iFractals(NULL, PERIOD_H4, MODE_LOWER, iBarShift(NULL, PERIOD_H4, Time[Li_160])) > Ld_164 && iFractals(NULL, PERIOD_H4,
            MODE_LOWER, iBarShift(NULL, PERIOD_H4, Time[Li_160])) != 0.0) Ld_164 = ObjectGetValueByShift("TopCh_Line", Li_160) - iFractals(NULL, PERIOD_H4, MODE_LOWER, iBarShift(NULL, PERIOD_H4, Time[Li_160]));
      }
      datetime_148 = datetime_144;
      Ld_120 = Ld_112 - Ld_164;
      datetime_156 = datetime_152;
      Ld_136 = Ld_128 - Ld_164;
      f0_1("BottomCh_Line", datetime_148, Ld_120, datetime_156, Ld_136, 2, STYLE_SOLID, Brown, TRUE);
   }
   if (datetime_148 < datetime_144) {
      for (Li_160 = iBarShift(NULL, 0, datetime_148) - 240 / Period(); Li_160 >= iBarShift(NULL, 0, datetime_144); Li_160--) {
         if (iFractals(NULL, PERIOD_H4, MODE_LOWER, iBarShift(NULL, PERIOD_H4, Time[Li_160])) != 0.0 && Ld_136 == 0.0) {
            Ld_136 = iFractals(NULL, PERIOD_H4, MODE_LOWER, iBarShift(NULL, PERIOD_H4, Time[Li_160]));
            datetime_156 = iTime(NULL, PERIOD_H4, iBarShift(NULL, PERIOD_H4, Time[Li_160 - 1]));
         }
         f0_1("BottomCh_Line", datetime_148, Ld_120, datetime_156, Ld_136, 2, STYLE_SOLID, Aqua, TRUE);
         if (iFractals(NULL, PERIOD_H4, MODE_LOWER, iBarShift(NULL, PERIOD_H4, Time[Li_160])) != 0.0 && iFractals(NULL, PERIOD_H4, MODE_LOWER, iBarShift(NULL, PERIOD_H4, Time[Li_160])) < ObjectGetValueByShift("BottomCh_Line",
            Li_160)) {
            Ld_136 = iFractals(NULL, PERIOD_H4, MODE_LOWER, iBarShift(NULL, PERIOD_H4, Time[Li_160]));
            datetime_156 = iTime(NULL, PERIOD_H4, iBarShift(NULL, PERIOD_H4, Time[Li_160]));
            f0_1("BottomCh_Line", datetime_148, Ld_120, datetime_156, Ld_136, 2, STYLE_SOLID, Aqua, TRUE);
         }
      }
      Ld_164 = 0;
      for (Li_160 = iBarShift(NULL, 0, datetime_148) - 240 / Period(); Li_160 >= iBarShift(NULL, 0, datetime_144); Li_160--) {
         if (iFractals(NULL, PERIOD_H4, MODE_UPPER, iBarShift(NULL, PERIOD_H4, Time[Li_160])) - ObjectGetValueByShift("BottomCh_Line", Li_160) > Ld_164 && iFractals(NULL,
            PERIOD_H4, MODE_UPPER, iBarShift(NULL, PERIOD_H4, Time[Li_160])) != 0.0) Ld_164 = iFractals(NULL, PERIOD_H4, MODE_UPPER, iBarShift(NULL, PERIOD_H4, Time[Li_160])) - ObjectGetValueByShift("BottomCh_Line", Li_160);
      }
      datetime_144 = datetime_148;
      Ld_112 = Ld_120 + Ld_164;
      datetime_152 = datetime_156;
      Ld_128 = Ld_136 + Ld_164;
      f0_1("TopCh_Line", datetime_144, Ld_112, datetime_152, Ld_128, 2, STYLE_SOLID, Aqua, TRUE);
   }
   G_ifractals_164 = 0;
   G_ifractals_156 = 0;
   for (int Li_172 = 50; Li_172 >= 0; Li_172--) {
      if (iFractals(NULL, PERIOD_H4, MODE_UPPER, Li_172) != 0.0) {
         G_ifractals_156 = iFractals(NULL, PERIOD_H4, MODE_UPPER, Li_172);
         G_datetime_172 = iTime(NULL, PERIOD_H4, Li_172);
      }
      if (iFractals(NULL, PERIOD_H4, MODE_LOWER, Li_172) != 0.0) {
         G_ifractals_164 = iFractals(NULL, PERIOD_H4, MODE_LOWER, Li_172);
         G_datetime_176 = iTime(NULL, PERIOD_H4, Li_172);
      }
   }
   if (G_datetime_172 > G_datetime_176) {
      f0_1("Fib_Line", G_datetime_176, G_ifractals_164, G_datetime_172, G_ifractals_156, 2, STYLE_SOLID, Brown, FALSE);
      f0_0("FibLvl", G_datetime_172, G_ifractals_164, G_datetime_172, G_ifractals_156, 0, STYLE_DOT, Brown, TRUE);
   }
   if (G_datetime_172 < G_datetime_176) {
      f0_1("Fib_Line", G_datetime_172, G_ifractals_156, G_datetime_176, G_ifractals_164, 2, STYLE_SOLID, Aqua, FALSE);
      f0_0("FibLvl", G_datetime_176, G_ifractals_156, G_datetime_176, G_ifractals_164, 0, STYLE_DOT, Aqua, TRUE);
   }
   Comment("\n No of BarBack : ", Li_108);
   return (0);
}
		 			  	 		   				    		 	  		  		 		  	 		  	 		   	 		   	 		  	 					 	 			 	    						     	 	        			   	  	 				 		 	 		 		  				   	  
// 52D46093050F38C27267BCE42543EF60
int deinit() {
   return (0);
}
	  	 		 					 			 	 	 					 		    	  		 					   	   						     	 		  	 				  	  		  		 		 	 	 	 			 	 	  	 	 		        		  	    	  	  			 	 	    
// EA2B2676C28C0DB26D39331A336C6B92
int start() {
   string name_4;
   int str_len_12;
   string Ls_20;
   double Ld_28;
   double Ld_36;
   double Ld_44;
   double Ld_52;
   string name_60;
   string Ls_84;
   string Ls_92;
   string Ls_unused_100;
   int datetime_152;
   int datetime_156;
   double Ld_164;
   iCustom(NULL, PERIOD_H1, "ZUP_v71", 0, 0);
   iCustom(NULL, PERIOD_H1, "Supply and Demand -II SupDem", 0, 0);
   Gd_76 = f0_2(PERIOD_M15, Kperiod, Dperiod, Slowing, MAMethod, PriceField, 0);
   Gd_100 = f0_3(PERIOD_M15, Kperiod, Dperiod, Slowing, MAMethod, PriceField, 0);
   Gd_84 = f0_2(PERIOD_M30, Kperiod, Dperiod, Slowing, MAMethod, PriceField, 0);
   Gd_108 = f0_3(PERIOD_M30, Kperiod, Dperiod, Slowing, MAMethod, PriceField, 0);
   Gd_92 = f0_2(PERIOD_H4, Kperiod, Dperiod, Slowing, MAMethod, PriceField, 0);
   Gd_116 = f0_3(PERIOD_H4, Kperiod, Dperiod, Slowing, MAMethod, PriceField, 0);
   Gs_unused_124 = "";
   for (int Li_0 = 0; Li_0 < ObjectsTotal(); Li_0++) {
      name_4 = ObjectName(Li_0);
      str_len_12 = StringLen(name_4);
      for (int Li_16 = 0; Li_16 < str_len_12; Li_16++) {
         if (StringSubstr(name_4, Li_16, str_len_12) == "UPZONE1") {
            Ls_20 = StringSubstr(name_4, Li_16, str_len_12);
            Ld_28 = ObjectGet(name_4, OBJPROP_PRICE1);
            Ld_36 = ObjectGet(name_4, OBJPROP_PRICE2);
            break;
         }
         if (StringSubstr(name_4, Li_16, str_len_12) == "DNZONE1") {
            Ls_20 = StringSubstr(name_4, Li_16, str_len_12);
            Ld_44 = ObjectGet(name_4, OBJPROP_PRICE1);
            Ld_52 = ObjectGet(name_4, OBJPROP_PRICE2);
            break;
         }
      }
      name_60 = ObjectName(Li_0);
   }
   string Ls_68 = "_0Triangle2_0_ExtIndicator=11_33/5/3_7_Bearish Crab";
   int str_len_76 = StringLen(Ls_68);
   for (int Li_80 = 0; Li_80 < str_len_76 - 1; Li_80++) {
      if (StringSubstr(Ls_68, Li_80, 1) == "B") {
         Ls_84 = StringSubstr(Ls_68, Li_80, 7);
         Ls_92 = StringSubstr(Ls_68, Li_80, 8);
         if (Ls_84 == "Bearish") {
            Ls_unused_100 = "TRUE";
            break;
         }
         Ls_unused_100 = "FALSE";
         break;
      }
   }
   int Li_108 = NoOfBarBack4H;
   double Ld_112 = iHigh(NULL, PERIOD_H4, iHighest(NULL, PERIOD_H4, MODE_HIGH, Li_108, 0));
   double Ld_120 = iLow(NULL, PERIOD_H4, iLowest(NULL, PERIOD_H4, MODE_LOW, Li_108, 0));
   double Ld_128 = 0;
   double Ld_136 = 0;
   int datetime_144 = iTime(NULL, PERIOD_H4, iHighest(NULL, PERIOD_H4, MODE_HIGH, Li_108, 0));
   int datetime_148 = iTime(NULL, PERIOD_H4, iLowest(NULL, PERIOD_H4, MODE_LOW, Li_108, 0));
   Ld_112 = iHigh(NULL, PERIOD_H4, iHighest(NULL, PERIOD_H4, MODE_HIGH, Li_108, 0));
   Ld_120 = iLow(NULL, PERIOD_H4, iLowest(NULL, PERIOD_H4, MODE_LOW, Li_108, 0));
   Ld_128 = 0;
   Ld_136 = 0;
   datetime_144 = iTime(NULL, PERIOD_H4, iHighest(NULL, PERIOD_H4, MODE_HIGH, Li_108, 0));
   datetime_148 = iTime(NULL, PERIOD_H4, iLowest(NULL, PERIOD_H4, MODE_LOW, Li_108, 0));
   if (datetime_148 > datetime_144) {
      for (int Li_160 = iBarShift(NULL, 0, datetime_144) - 240 / Period(); Li_160 >= iBarShift(NULL, 0, datetime_148); Li_160--) {
         if (iFractals(NULL, PERIOD_H4, MODE_UPPER, iBarShift(NULL, PERIOD_H4, Time[Li_160])) != 0.0 && Ld_128 == 0.0) {
            Ld_128 = iFractals(NULL, PERIOD_H4, MODE_UPPER, iBarShift(NULL, PERIOD_H4, Time[Li_160]));
            datetime_152 = iTime(NULL, PERIOD_H4, iBarShift(NULL, PERIOD_H4, Time[Li_160]));
         }
         f0_1("TopCh_Line", datetime_144, Ld_112, datetime_152, Ld_128, 2, STYLE_SOLID, Brown, TRUE);
         if (iFractals(NULL, PERIOD_H4, MODE_UPPER, iBarShift(NULL, PERIOD_H4, Time[Li_160])) != 0.0 && iFractals(NULL, PERIOD_H4, MODE_UPPER, iBarShift(NULL, PERIOD_H4, Time[Li_160])) > ObjectGetValueByShift("TopCh_Line",
            Li_160)) {
            Ld_128 = iFractals(NULL, PERIOD_H4, MODE_UPPER, iBarShift(NULL, PERIOD_H4, Time[Li_160]));
            datetime_152 = iTime(NULL, PERIOD_H4, iBarShift(NULL, PERIOD_H4, Time[Li_160]));
            f0_1("TopCh_Line", datetime_144, Ld_112, datetime_152, Ld_128, 2, STYLE_SOLID, Brown, TRUE);
         }
      }
      Ld_164 = 0;
      for (Li_160 = iBarShift(NULL, 0, datetime_144) - 240 / Period(); Li_160 >= iBarShift(NULL, 0, datetime_148); Li_160--) {
         if (ObjectGetValueByShift("TopCh_Line", Li_160) - iFractals(NULL, PERIOD_H4, MODE_LOWER, iBarShift(NULL, PERIOD_H4, Time[Li_160])) > Ld_164 && iFractals(NULL, PERIOD_H4,
            MODE_LOWER, iBarShift(NULL, PERIOD_H4, Time[Li_160])) != 0.0) Ld_164 = ObjectGetValueByShift("TopCh_Line", Li_160) - iFractals(NULL, PERIOD_H4, MODE_LOWER, iBarShift(NULL, PERIOD_H4, Time[Li_160]));
      }
      datetime_148 = datetime_144;
      Ld_120 = Ld_112 - Ld_164;
      datetime_156 = datetime_152;
      Ld_136 = Ld_128 - Ld_164;
      f0_1("BottomCh_Line", datetime_148, Ld_120, datetime_156, Ld_136, 2, STYLE_SOLID, Brown, TRUE);
   }
   if (datetime_148 < datetime_144) {
      for (Li_160 = iBarShift(NULL, 0, datetime_148) - 240 / Period(); Li_160 >= iBarShift(NULL, 0, datetime_144); Li_160--) {
         if (iFractals(NULL, PERIOD_H4, MODE_LOWER, iBarShift(NULL, PERIOD_H4, Time[Li_160])) != 0.0 && Ld_136 == 0.0) {
            Ld_136 = iFractals(NULL, PERIOD_H4, MODE_LOWER, iBarShift(NULL, PERIOD_H4, Time[Li_160]));
            datetime_156 = iTime(NULL, PERIOD_H4, iBarShift(NULL, PERIOD_H4, Time[Li_160 - 1]));
         }
         f0_1("BottomCh_Line", datetime_148, Ld_120, datetime_156, Ld_136, 2, STYLE_SOLID, Aqua, TRUE);
         if (iFractals(NULL, PERIOD_H4, MODE_LOWER, iBarShift(NULL, PERIOD_H4, Time[Li_160])) != 0.0 && iFractals(NULL, PERIOD_H4, MODE_LOWER, iBarShift(NULL, PERIOD_H4, Time[Li_160])) < ObjectGetValueByShift("BottomCh_Line",
            Li_160)) {
            Ld_136 = iFractals(NULL, PERIOD_H4, MODE_LOWER, iBarShift(NULL, PERIOD_H4, Time[Li_160]));
            datetime_156 = iTime(NULL, PERIOD_H4, iBarShift(NULL, PERIOD_H4, Time[Li_160]));
            f0_1("BottomCh_Line", datetime_148, Ld_120, datetime_156, Ld_136, 2, STYLE_SOLID, Aqua, TRUE);
         }
      }
      Ld_164 = 0;
      for (Li_160 = iBarShift(NULL, 0, datetime_148) - 240 / Period(); Li_160 >= iBarShift(NULL, 0, datetime_144); Li_160--) {
         if (iFractals(NULL, PERIOD_H4, MODE_UPPER, iBarShift(NULL, PERIOD_H4, Time[Li_160])) - ObjectGetValueByShift("BottomCh_Line", Li_160) > Ld_164 && iFractals(NULL,
            PERIOD_H4, MODE_UPPER, iBarShift(NULL, PERIOD_H4, Time[Li_160])) != 0.0) Ld_164 = iFractals(NULL, PERIOD_H4, MODE_UPPER, iBarShift(NULL, PERIOD_H4, Time[Li_160])) - ObjectGetValueByShift("BottomCh_Line", Li_160);
      }
      datetime_144 = datetime_148;
      Ld_112 = Ld_120 + Ld_164;
      datetime_152 = datetime_156;
      Ld_128 = Ld_136 + Ld_164;
      f0_1("TopCh_Line", datetime_144, Ld_112, datetime_152, Ld_128, 2, STYLE_SOLID, Aqua, TRUE);
   }
   G_ifractals_164 = 0;
   G_ifractals_156 = 0;
   for (int Li_172 = 50; Li_172 >= 0; Li_172--) {
      if (iFractals(NULL, PERIOD_H4, MODE_UPPER, Li_172) != 0.0) {
         G_ifractals_156 = iFractals(NULL, PERIOD_H4, MODE_UPPER, Li_172);
         G_datetime_172 = iTime(NULL, PERIOD_H4, Li_172);
      }
      if (iFractals(NULL, PERIOD_H4, MODE_LOWER, Li_172) != 0.0) {
         G_ifractals_164 = iFractals(NULL, PERIOD_H4, MODE_LOWER, Li_172);
         G_datetime_176 = iTime(NULL, PERIOD_H4, Li_172);
      }
   }
   if (G_datetime_172 > G_datetime_176) {
      f0_1("Fib_Line", G_datetime_176, G_ifractals_164, G_datetime_172, G_ifractals_156, 2, STYLE_SOLID, Brown, FALSE);
      f0_0("FibLvl", G_datetime_172, G_ifractals_164, G_datetime_172, G_ifractals_156, 0, STYLE_DOT, Brown, TRUE);
   }
   if (G_datetime_172 < G_datetime_176) {
      f0_1("Fib_Line", G_datetime_172, G_ifractals_156, G_datetime_176, G_ifractals_164, 2, STYLE_SOLID, Aqua, FALSE);
      f0_0("FibLvl", G_datetime_176, G_ifractals_156, G_datetime_176, G_ifractals_164, 0, STYLE_DOT, Aqua, TRUE);
   }
   Comment("\n No of BarBack : ", Li_108);
   return (0);
}
	      	 		 		    				   				 			 		   	 		 				   		    	 	 		 				  	  			  		 	 		 	   				 	 					 			     		  	 		      			     	    							
// 7947C56239FFE5BDF81B7FCD4B061C8D
double f0_2(int A_timeframe_0, int A_period_4, int A_period_8, int A_slowing_12, int A_ma_method_16, int A_price_field_20, int A_shift_24) {
   return (iStochastic(NULL, A_timeframe_0, A_period_4, A_period_8, A_slowing_12, A_ma_method_16, A_price_field_20, MODE_MAIN, A_shift_24));
}
	 		 	  		 		  		   	  			  			      	  		 		 	 	 	 		 				   		 	   					   		 			 					   	   		  	    			 	    	   			 		  	 	 		   		   	 	  
// DBA87E9F088F6B120771BFC25AFBAF55
double f0_3(int A_timeframe_0, int A_period_4, int A_period_8, int A_slowing_12, int A_ma_method_16, int A_price_field_20, int A_shift_24) {
   return (iStochastic(NULL, A_timeframe_0, A_period_4, A_period_8, A_slowing_12, A_ma_method_16, A_price_field_20, MODE_SIGNAL, A_shift_24));
}
	 			  	 	 	 	       	   	    			   	  	 	 	 			  	      		 			 		  	 	  	  	 		 		   	      	 	 	   	 						  		 	 			   						  				       				
// 6438C669E0D0DE98E6929C2CC0FAC474
void f0_1(string A_name_0, int A_datetime_8, double A_price_12, int A_datetime_20, double A_price_24, int A_width_32, int A_style_36, color A_color_40, int A_bool_44) {
   ObjectCreate(A_name_0, OBJ_TREND, 0, A_datetime_8, A_price_12, A_datetime_20, A_price_24);
   ObjectSet(A_name_0, OBJPROP_TIME1, A_datetime_8);
   ObjectSet(A_name_0, OBJPROP_TIME2, A_datetime_20);
   ObjectSet(A_name_0, OBJPROP_PRICE1, A_price_12);
   ObjectSet(A_name_0, OBJPROP_PRICE2, A_price_24);
   ObjectSet(A_name_0, OBJPROP_WIDTH, A_width_32);
   ObjectSet(A_name_0, OBJPROP_STYLE, A_style_36);
   ObjectSet(A_name_0, OBJPROP_COLOR, A_color_40);
   ObjectSet(A_name_0, OBJPROP_RAY, A_bool_44);
}
	 			 	  	 	 			     			 	      	   	 	  	 	 	    	   		 		 		 			  	  	 	  	    		    	     		  	   		 					 	 	 	 		 	  				    						     	  	
// 23A4A312974BB3A366682FD04088570A
void f0_0(string A_name_0, int A_datetime_8, double A_price_12, int A_datetime_20, double A_price_24, int A_width_32, int A_style_36, color A_color_40, int A_bool_44) {
   double Lda_48[10] = {0.0, 0.382, 0.5, 0.618, 0.786, 0.886, 1.0, 1.27, 1.414, 1.618};
   string Lsa_52[10] = {"0,0", "38.2", "50.0", "61.8", "78.6", "88.6", "100.0", "127.0", "141.4", "161.8"};
   ObjectCreate(A_name_0, OBJ_FIBO, 0, A_datetime_8, A_price_12, A_datetime_20, A_price_24);
   ObjectSet(A_name_0, OBJPROP_TIME1, A_datetime_8);
   ObjectSet(A_name_0, OBJPROP_TIME2, A_datetime_20);
   ObjectSet(A_name_0, OBJPROP_PRICE1, A_price_12);
   ObjectSet(A_name_0, OBJPROP_PRICE2, A_price_24);
   ObjectSet(A_name_0, OBJPROP_COLOR, CLR_NONE);
   ObjectSet(A_name_0, OBJPROP_LEVELCOLOR, A_color_40);
   ObjectSet(A_name_0, OBJPROP_WIDTH, A_width_32);
   ObjectSet(A_name_0, OBJPROP_LEVELSTYLE, A_style_36);
   ObjectSet(A_name_0, OBJPROP_RAY, A_bool_44);
   ObjectSet(A_name_0, OBJPROP_FIBOLEVELS, 10);
   for (int Li_56 = 0; Li_56 < 10; Li_56++) {
      ObjectSet(A_name_0, Li_56 + 210, Lda_48[Li_56]);
      ObjectSetFiboDescription(A_name_0, Li_56, "" + Lsa_52[Li_56] + "   %$ - H4  ");
   }
}

Recommend