hello, even supersignal repaints, it should open trade around the arrow_up and arrow_down, but why is it open the trade far from the arrow?
I guess the EA did not read arrow correctly.
See below. Is that statement to get ArrowUp correct?
// Get Supersignal state
ArrowUp = iCustom(NULL,0,"supersignals",1,1);
ArrowDown = iCustom(NULL,0,"supersignals",0,1);
// Open orders on new bar only
if (tCurTime != Time[0]) {
tCurTime=Time[0];
// Get the first free ticket
iFreeTicket=GetFreeTicket();
// Open Buy order if previous bar has arrow up signal
if (ArrowUp!=EMPTY_VALUE && iFreeTicket>-1) {
giTicket[iFreeTicket]=OrderSend(Symbol(),OP_BUY,Lots, Ask, Slippage, 0, 0,
"Supersignal", MagicNr+i, NULL, LimeGreen);