The simple code below:
if(iRSI(NULL,PERIOD_M1,14,PRICE_CLOSE,0) > 70)
int x = OrderSend(NULL, OP_SELL, 0.01, Bid, 10, 0, Bid-3*Point*10); //using 5 digits broker
it is a very simple code
note that it ONLY accessing the 1 minute chart as the condition of the RSI above (see yellow highlighted)
but while back testing (99.9% quality) it give more variant results when changing the back tester period (time frame)!
how is this going on!!!?
see the video
but while back testing (99.9% quality) it give more variant results when changing the back tester period!
Video has been changed
I think the last deal is closed with "end of test" likely you're not using a stoploss.
This is common, when transferring data across different time frames or different symbols, Make sure that you have the requested historical price data downloaded and available , and also synchronize and update it properly before using them..
I know it works so. But you know ticks generation is different from OHLC of a 15mn and OHLC price of a 1mn chart : indicator calculates its value from these datas - it can explain the difference which relying to your video isn't that huge.
What does it mean ?
It means it's dangerous, perfectly irresponsible, I know you don't use it because it changes your results radically, but you have to do with ! You SHOULDN'T do without.
By proceeding suavecito and despacito, you can obtain a very alike curve, without danger for the portfolio.