Neverending Embedding #2

I haven’t made any adjustments to the weekly settings for a while.

Just as I could define the bear and bull market switch off on the daily chart as “3 constructive closes above / below God”, on the Weekly I have the E-55 HL2 as the line in the sand, and what I was missing is this being uniform. Now, the smileys (Market Mode) are prompted by well defined lines (E-59 is a factor as well). No more dual standards.

Weekly E-34 is the equivalent of the E-44 on daily and below.
      ////3 closes above E-55
              if (Close[i]>iMA(symbol,0,55,0,MODE_EMA, PRICE_MEDIAN,i) && Close[i+1]>iMA(symbol,0,55,0,MODE_EMA, PRICE_MEDIAN,i+1) && Close[i+2]>iMA(symbol,0,55,0,MODE_EMA, PRICE_MEDIAN,i+2) && Low[i+3]<iMA(symbol,0,59,0,MODE_EMA, PRICE_MEDIAN,i+3)  && Close[i+4]<iMA(symbol,0,59,0,MODE_EMA, PRICE_HIGH,i+4)  ){
         ObjectCreate("TitusTFxx"+DoubleToStr(i), OBJ_TEXT, 0, Time[i+1], Close[i+1]+270*Point); 
            ObjectSetText("TitusTFxx"+DoubleToStr(i), CharToStr(74), 39, "Wingdings", clrDarkGreen);
            }  
      
      
            ////3 closes below E-55
              if (Close[i]<iMA(symbol,0,55,0,MODE_EMA, PRICE_MEDIAN,i) && Close[i+1]<iMA(symbol,0,55,0,MODE_EMA, PRICE_MEDIAN,i+1) && Close[i+2]<iMA(symbol,0,55,0,MODE_EMA, PRICE_MEDIAN,i+2) && High[i+3]>iMA(symbol,0,55,0,MODE_EMA, PRICE_MEDIAN,i+3)   && Close[i+4]>iMA(symbol,0,59,0,MODE_EMA, PRICE_MEDIAN,i+4)    ){
         ObjectCreate("TitusTFxx"+DoubleToStr(i), OBJ_TEXT, 0, Time[i+1], Close[i+1]+290*Point); 
            ObjectSetText("TitusTFxx"+DoubleToStr(i), CharToStr(74), 39, "Wingdings", clrFireBrick);

The Oscillator got some adjustments as well as the losing embedding limits.

In the end my true self won out. Screw everyone who are plotting oscillators and moving averages on closing prices.

///embedding definitions

if (iStochastic(symbol,10080,18,3,3,MODE_SMA,1,MODE_SIGNAL,i+2)<22 && iStochastic(symbol,10080,18,3,3,MODE_SMA,1,MODE_SIGNAL,i+1)<22 && iStochastic(symbol,10080,18,3,3,MODE_SMA,1,MODE_SIGNAL,i)<22 ){
 
                     ObjectCreate("Fracabbb"+IntegerToString(i), OBJ_RECTANGLE, 1,  Time[i+1], 24, Time[i], 0);
                     ObjectSetInteger(0,"Fracabbb"+IntegerToString(i),OBJPROP_COLOR,clrSalmon);
                     ObjectSet("Fracabbb"+IntegerToString(i),OBJPROP_BACK,1);
                     ObjectSet("Fracabbb"+IntegerToString(i),OBJPROP_WIDTH,5);   
                     embedded[i]=true;
}

if (iStochastic(symbol,10080,18,3,3,MODE_SMA,1,MODE_SIGNAL,i+2)>78 && iStochastic(symbol,10080,18,3,3,MODE_SMA,1,MODE_SIGNAL,i+1)>78 && iStochastic(symbol,10080,18,3,3,MODE_SMA,1,MODE_SIGNAL,i)>78){
                      ObjectCreate("Fracabbbb"+IntegerToString(i), OBJ_RECTANGLE, 1,  Time[i+1], 76, Time[i], 100);
                     ObjectSetInteger(0,"Fracabbbb"+IntegerToString(i),OBJPROP_COLOR,clrChartreuse);
                     ObjectSet("Fracabbbb"+IntegerToString(i),OBJPROP_BACK,1);
                     ObjectSet("Fracabbbb"+IntegerToString(i),OBJPROP_WIDTH,5);   
                     embedded[i]=true;
}

    if (iStochastic(symbol,0,18,3,3,MODE_SMA,1,MODE_MAIN,i+1)>72 && iStochastic(symbol,0,18,3,3     if (iStochastic(symbol,0,18,3,3,MODE_SMA,1,MODE_SIGNAL,i+1)>80 && iStochastic(symbol,0,18,3,3,MODE_SMA,1,MODE_SIGNAL,i)<80){
       ObjectCreate("Claim"+DoubleToStr(i), OBJ_TEXT, 1, Time[i], 84); 
                      ObjectSetText("Claim"+DoubleToStr(i), "!", 48, "Impact", clrCrimson);
                      ObjectSet("Claim"+DoubleToStr(i), OBJPROP_BACK,0);
                      ObjectCreate("Claims"+DoubleToStr(i), OBJ_TEXT, 1, Time[i], 80); 
                      ObjectSetText("Claims"+DoubleToStr(i), "!", 42, "Impact", clrYellow);
                      ObjectSet("Claims"+DoubleToStr(i), OBJPROP_BACK,0);
                       }
   if (iStochastic(symbol,0,18,3,3,MODE_SMA,1,MODE_SIGNAL,i+1)<20 && iStochastic(symbol,0,18,3,3,MODE_SMA,1,MODE_SIGNAL,i)>20){
       ObjectCreate("Claim"+DoubleToStr(i), OBJ_TEXT, 1, Time[i], 44); 
                      ObjectSetText("Claim"+DoubleToStr(i), "!", 48, "Impact", clrGreen);
                      ObjectSet("Claim"+DoubleToStr(i), OBJPROP_BACK,0);
                      ObjectCreate("Claims"+DoubleToStr(i), OBJ_TEXT, 1, Time[i], 40); 
                      ObjectSetText("Claims"+DoubleToStr(i), "!", 42, "Impact", clrYellow);
                      ObjectSet("Claims"+DoubleToStr(i), OBJPROP_BACK,0);
                       }

Just as using Median prices, using Stochastic D over the K remains my signature.

Now, the hands. There has not been a manual for them yet.

The “PUSH” in a direction is either the ending point or the following week the turn will complete – unless there is an embedding in the push’s direction.

What is important about the push is the close. When not embedded, anything beyond that particular close is a good entry for a fade, but 36 pips beyond are certainly not likely to occur.

When embedded, catching the falling knife goes like this: you take the furthest point made by the push (not the closing price), you place a 1/2 size fade at 30 pips out, a 1/2 size fade at 40 pips out, close all of your directional holdings 50 pips out and reverse / hedge 70 pips out. Rinse and repeat.

The first exclamation mark was a warning that the embedding got close to being lost. The second lived to see the wolf show up.

You can see that the embedding was lost on the next push up, so the push down fell under the “not embedded push” scrutiny.

Last modification was to incorporate the 14-sample Window Envelopes, for the histogram plots would always get priority and cover them out otherwise. From now on they are Bollinger Blue.

  env_u[i]=iEnvelopes(symbol,0,14,0,0,0,2,MODE_UPPER,i);
   env_d[i]=iEnvelopes(symbol,0,14,0,0,0,2,MODE_LOWER,i);  

Re-vitalizing the comfort levels helps you to understand that this dip into the oversold (blue marker) is a back test of the oversold and the time spent down there would likely be limited both in time and in distance. A right shoulder matching the left shoulders depth would be at 1.1182 or so, but there is no sacred script stating where the down move would have to be bought.