The original title was gonna be Carbohydrate, but this one is a sequel.
A plate full of Hydras hydrates. Not quite as funny as in Hungarian (Egy tál hidra hidratál).
Triple bypass =
0M + para reversal + takeoff
To be played with full size
" F/S:"+DoubleToStr(NormalizeDouble(NormalizeDouble(AccountEquity()/2/600,2),2),2)+"LOT"
Trail CODE 11
if (OrderType() == OP_BUY
&& OrderStopLoss()==0.11 && RSI2[0]>80)
if (Bid>OrderOpenPrice()+40*Point && OrderOpenPrice()+40*Point>OrderStopLoss() && OrderOpenPrice()+30*Point>OrderStopLoss()){
// Print("bUY sTOP lOSS ATTEMPT ", OrderTicket());
if (!OrderModify(OrderTicket(), OrderOpenPrice(), NormalizeDouble(OrderOpenPrice()+15*Point,6), OrderTakeProfit(), Red))
Print("Error setting Buy trailing stop: ", GetLastError());
}
if (OrderType() == OP_SELL
&& OrderStopLoss()==11 && RSI2[0]<20 )
if (Ask<OrderOpenPrice()-40*Point && OrderOpenPrice()-40*Point<OrderStopLoss() && OrderOpenPrice()-30*Point<OrderStopLoss()
) {
// Print("sELL sTOP lOSS ATTEMPT ", OrderTicket());
if (!OrderModify(OrderTicket(), OrderOpenPrice(), NormalizeDouble(OrderOpenPrice()-15*Point,6), OrderTakeProfit(), Red))
Print("Error setting Sell trailing stop: ", GetLastError());
}
Until an RSI2 divergence shows up…

Speaking of RSI reversal divergences…
deletetxt1("FRACTAL");
for(i=1; i<=lookback-25; i++){
if (Low[i]<Low[i+1] && Low[i]<Low[i-1] && RSI2[i]<30) {
j=i+3;
while (j<i+24){
if (Low[j]<Low[j+1] && Low[j]<Low[j-1] && RSI2[j]<RSI2[i] && Low[j]>Low[i] && RSI2[j]<12.5) break;
j++;
}
if (Low[j]<Low[j+1] && Low[j]<Low[j-1] && RSI2[j]<RSI2[i] && Low[j]>Low[i] && RSI2[j]<12.5){
ObjectCreate(0,"FRACTAL"+DoubleToStr(i),OBJ_TREND,indicator_window,Time[j], RSI2[j],Time[i],RSI2[i]);
ObjectSetInteger(0,"FRACTAL"+DoubleToStr(i),OBJPROP_RAY_RIGHT,false);
ObjectSet("FRACTAL"+DoubleToStr(i),OBJPROP_COLOR,clrGold);
ObjectSet("FRACTAL"+DoubleToStr(i),OBJPROP_WIDTH,8);
ObjectSet("FRACTAL"+DoubleToStr(i),OBJPROP_BACK,1);
}
}
if (High[i]>High[i+1] && High[i]>High[i-1] && RSI2[i]>70) {
j=i+3;
while (j<i+24){
if (High[j]>High[j+1] && High[j]>High[j-1] && RSI2[j]>RSI2[i] && High[j]<High[i] && RSI2[j]>87.5) break;
j++;
}
if (High[j]>High[j+1] && High[j]>High[j-1] && RSI2[j]>RSI2[i] && High[j]<High[i] && RSI2[j]>87.5 ){
ObjectCreate(0,"FRACTALZ"+DoubleToStr(i),OBJ_TREND,indicator_window,Time[j], RSI2[j],Time[i],RSI2[i]);
ObjectSetInteger(0,"FRACTALZ"+DoubleToStr(i),OBJPROP_RAY_RIGHT,false);
ObjectSet("FRACTALZ"+DoubleToStr(i),OBJPROP_COLOR,clrGold);
ObjectSet("FRACTALZ"+DoubleToStr(i),OBJPROP_WIDTH,8);
ObjectSet("FRACTALZ"+DoubleToStr(i),OBJPROP_BACK,1);
}
}
}
Now, let’s talk down the elephante from the cherry-tree.

We are only interested in the reversal divergence if the market is trending.


Now, the usual Hudson Hawk joke: I wish you would lay off the pasta. Spit it out.
What is a spit back? It is an eating disorder.
High[i]>iMA(NULL,0,44,0,MODE_EMA, PRICE_MEDIAN,i) && Low[i]<iMA(NULL,0,44,0,MODE_EMA, PRICE_MEDIAN,i) &&
High[i+1]>iMA(NULL,0,44,0,MODE_EMA, PRICE_MEDIAN,i+1) && Low[i+1]<iMA(NULL,0,44,0,MODE_EMA, PRICE_MEDIAN,i+1) &&
High[i+2]>iMA(NULL,0,44,0,MODE_EMA, PRICE_MEDIAN,i+2) && Low[i+2]<iMA(NULL,0,44,0,MODE_EMA, PRICE_MEDIAN,i+2) &&
High[i+3]>iMA(NULL,0,44,0,MODE_EMA, PRICE_MEDIAN,i+3) && Low[i+3]<iMA(NULL,0,44,0,MODE_EMA, PRICE_MEDIAN,i+3) &&
High[i+4]>iMA(NULL,0,44,0,MODE_EMA, PRICE_MEDIAN,i+4) && Low[i+4]<iMA(NULL,0,44,0,MODE_EMA, PRICE_MEDIAN,i+4) &&
High[i+5]>iMA(NULL,0,44,0,MODE_EMA, PRICE_MEDIAN,i+5) && Low[i+5]<iMA(NULL,0,44,0,MODE_EMA, PRICE_MEDIAN,i+5) &&
!(High[i+6]>iMA(NULL,0,44,0,MODE_EMA, PRICE_MEDIAN,i+6) && Low[i+6]<iMA(NULL,0,44,0,MODE_EMA, PRICE_MEDIAN,i+6))
The E-44 has 3 modes. The normal mode is repulsive. It wants to reject price and chase it as far away as possible.

The latent mode is a digestion-attempt. If price hangs around too long in its stomach, say 6 hour or more, the E-44 is going to spit back the price.

The 3rd mode is the snake bite mode, during a trending (embedded) market. The slightest touch may provoke a violent blow.

In closing after all this wasted saliva…
