Ty Fighter Under Development

If you look at the ATR entry, you may start to understand why most of the time your swing aim for a consolidating EUR/USD should be 64 pips. It is 80% of 80 pips that is 80% of the time the expected daily move. A fluctuation size thus is 32 pips.

It does not hurt to have some statistical knowledge of a given instrument.

Not highlighted, but as you would imagine, the swings up from below the Stratosphere line (white) or the BB (teal) during consolidation (red in the green) are 64 pips long (this isn’t the only reason why I would never consider trading a JPY, interventionist pair).

That is until the market starts making new 200-sample higher highs (plain green) when the limitation is waived.

One thing to point out when measuring distance between long term moving averages is that you cannot have gaps in the data. On my other computer some 30-min block is missing, and the numbers are not the same.

I am going with 26 pips difference for now as a solidifier / antidote measurement. This is my answer for the bias in an out-of-oversold bear.

if (iMA(NULL,0,414,0,MODE_EMA, PRICE_LOW,0)>iMA(NULL,0,712,0,MODE_EMA, PRICE_MEDIAN,0)){
   ObjectCreate("Querty"+4,OBJ_LABEL,indicator_window, 0,0);
   ObjectSetText("Querty"+4, "TY FIGHTER 640 ("+DoubleToStr(NormalizeDouble(MathAbs(iMA(NULL,0,414,0,MODE_EMA, PRICE_LOW,0)-iMA(NULL,0,712,0,MODE_EMA, PRICE_MEDIAN,0))*10000,4),1)+")", 21, "Arial Black", DarkGreen);  
  if (MathAbs(iMA(NULL,0,414,0,MODE_EMA, PRICE_LOW,0)-iMA(NULL,0,712,0,MODE_EMA, PRICE_MEDIAN,0))<260*Point)  ObjectSetText("Querty"+4, "TY FIGHTER 640 ("+DoubleToStr(NormalizeDouble(MathAbs(iMA(NULL,0,414,0,MODE_EMA, PRICE_LOW,0)-iMA(NULL,0,712,0,MODE_EMA, PRICE_MEDIAN,0))*10000,4),1)+")", 21, "Arial Black", Yellow);  
   if (MathAbs(iMA(NULL,0,414,0,MODE_EMA, PRICE_LOW,0)-iMA(NULL,0,712,0,MODE_EMA, PRICE_MEDIAN,0))<230*Point)  ObjectSetText("Querty"+4, "TY FIGHTER 640 ("+DoubleToStr(NormalizeDouble(MathAbs(iMA(NULL,0,414,0,MODE_EMA, PRICE_LOW,0)-iMA(NULL,0,712,0,MODE_EMA, PRICE_MEDIAN,0))*10000,4),1)+")", 21, "Arial Black", Crimson);  
  
  
  ObjectSet("Querty"+4,OBJPROP_CORNER,2);
    ObjectSet("Querty"+4,OBJPROP_XDISTANCE,20);
  ObjectSet("Querty"+4,OBJPROP_YDISTANCE,67);
}


if (iMA(NULL,0,414,0,MODE_EMA, PRICE_HIGH,0)<iMA(NULL,0,712,0,MODE_EMA, PRICE_MEDIAN,0)){
   ObjectCreate("Querty"+4,OBJ_LABEL,indicator_window, 0,0);
   ObjectSetText("Querty"+4, "TY FIGHTER 640 ("+DoubleToStr(NormalizeDouble(MathAbs(iMA(NULL,0,414,0,MODE_EMA, PRICE_HIGH,0)-iMA(NULL,0,712,0,MODE_EMA, PRICE_MEDIAN,0))*10000,4),1)+")", 21, "Arial Black", Crimson);  
   if (MathAbs(iMA(NULL,0,414,0,MODE_EMA, PRICE_HIGH,0)-iMA(NULL,0,712,0,MODE_EMA, PRICE_MEDIAN,0))<260*Point)  ObjectSetText("Querty"+4, "TY FIGHTER 640 ("+DoubleToStr(NormalizeDouble(MathAbs(iMA(NULL,0,414,0,MODE_EMA, PRICE_HIGH,0)-iMA(NULL,0,712,0,MODE_EMA, PRICE_MEDIAN,0))*10000,4),1)+")", 21, "Arial Black", Yellow);  
   if (MathAbs(iMA(NULL,0,414,0,MODE_EMA, PRICE_HIGH,0)-iMA(NULL,0,712,0,MODE_EMA, PRICE_MEDIAN,0))<230*Point)  ObjectSetText("Querty"+4, "TY FIGHTER 640 ("+DoubleToStr(NormalizeDouble(MathAbs(iMA(NULL,0,414,0,MODE_EMA, PRICE_HIGH,0)-iMA(NULL,0,712,0,MODE_EMA, PRICE_MEDIAN,0))*10000,4),1)+")", 21, "Arial Black", DarkGreen);  
  ObjectSet("Querty"+4,OBJPROP_CORNER,2);
    ObjectSet("Querty"+4,OBJPROP_XDISTANCE,20);
  ObjectSet("Querty"+4,OBJPROP_YDISTANCE,67);
}

So yeah, the yellow is crossable distance.

 if (iMA(NULL,0,414,0,MODE_EMA, PRICE_LOW,i)>iMA(NULL,0,712,0,MODE_EMA, PRICE_MEDIAN,i) && MathAbs(iMA(NULL,0,414,0,MODE_EMA, PRICE_LOW,i)-iMA(NULL,0,712,0,MODE_EMA, PRICE_MEDIAN,i))>260*Point){
         ObjectCreate("Fal"+IntegerToString(i), OBJ_RECTANGLE, 0,  Time[i+1], iMA(NULL,0,414,0,MODE_EMA, PRICE_LOW,i), Time[i], iMA(NULL,0,712,0,MODE_EMA, PRICE_MEDIAN,i));
                   
            ObjectSetInteger(0,"Fal"+IntegerToString(i),OBJPROP_COLOR,clrGreenYellow);
            ObjectSet("Fal"+IntegerToString(i),OBJPROP_BACK,1);
            ObjectSet("Fal"+IntegerToString(i),OBJPROP_WIDTH,5);
         }
          if (iMA(NULL,0,414,0,MODE_EMA, PRICE_LOW,i)<iMA(NULL,0,712,0,MODE_EMA, PRICE_MEDIAN,i) && MathAbs(iMA(NULL,0,414,0,MODE_EMA, PRICE_HIGH,i)-iMA(NULL,0,712,0,MODE_EMA, PRICE_MEDIAN,i))>260*Point){
         ObjectCreate("Fal"+IntegerToString(i), OBJ_RECTANGLE, 0,  Time[i+1], iMA(NULL,0,414,0,MODE_EMA, PRICE_HIGH,i), Time[i], iMA(NULL,0,712,0,MODE_EMA, PRICE_MEDIAN,i));
                   
            ObjectSetInteger(0,"Fal"+IntegerToString(i),OBJPROP_COLOR,clrCoral);
            ObjectSet("Fal"+IntegerToString(i),OBJPROP_BACK,1);
            ObjectSet("Fal"+IntegerToString(i),OBJPROP_WIDTH,5);
         }