Hello,
I have download 1 minute from script Download . Asset ("NZD/CHF") from OANDA
My code does :
BarPerdiod=60;
if (lhour(tUTC)==22 && minute(timezone)==0){
enterShort(profit);
}
and when I change the BarPeriod 15 or 1 …. is different totally…...why ?
My function profit:
int profit
if(TradeIsOpen and (TradeProfit/TradeUnits/PIP < -10))){exitTrade();
}
if(TradeIsOpen and (TradeProfit/TradeUnits/PIP >10)){exitTrade();
}
return 0;
}
Thanks in advance
Last edited by sdelatorre; 12/21/19 08:16.