I was able to edit this indicator with the desired parameters, but I was unable to insert the EMPTY_VALUE for the arrow, I just want it to appear only when called in the function. Thank you in advance BLUERAIN
if (rs>rs1/2 && rs1>rs2/2 && Close[i]>Open[i]&& Close[i+1]>Open[i+1]&& Close[i+2]>Open[i+2]){
Signal_Short[i] = High[i];
// Alert after the last Close of a candle
if (i==1 && Display_Alert && Time[0] > LastAlert){
Alert(Symbol() + (Period()) + ": CORPO VELA DOBRO INVERSO VENDA ");
LastAlert = TimeCurrent();
}
}
if (rs<rs1/2 && rs1<rs2/2 && Close[i]<Open[i]&& Close[i+1]<Open[i+1]&& Close[i+2]<Open[i+2]){
Signal_Long[i] = Low[i];
// Alert after the last Close of a candle
if (i==1 && Display_Alert && Time[0] > LastAlert){
Alert(Symbol() + (Period()) + ": CORPO VELA DOBRO INVERSO COMPRA ");
LastAlert = TimeCurrent();
}
}
}
}
//+------------------------------------------------------------------+