久久国产成人av_抖音国产毛片_a片网站免费观看_A片无码播放手机在线观看,色五月在线观看,亚洲精品m在线观看,女人自慰的免费网址,悠悠在线观看精品视频,一级日本片免费的,亚洲精品久,国产精品成人久久久久久久

分享

Issue back testing with iBarShift()

 visionary555 2011-10-23


 

Hi all,

when back testing my EA I have an issue with the iBarShift() function.

I am trying to find the bar number based on a time.

- I find for example the highest high - int i=iHighest(NULL,0,MODE_HIGH,10,1)

- I then want to find out what bar the shift is on so try, for example int Bar=iBarShift(NULL,0,Time[i]);

- This returns -1 as the bar is not found (int Bar=iBarShift(NULL,0,Time[0]); is also not found).

- I only use iBarShift() because Bars-i doesn't work either.

- Print (Bars); at the start of my EA gives me 1001 - altough Time[0] gives me the specified start date (for example 01.12.2010) and I can draw a VLINE on the chart to show the start of my testing.

- As Bars is 1001, the EA returns 1001 (Bars) - 4 (i). But Bar 997 is somewhere in Jan 2007, obviously messing up my results (when trying to find out a bar which should be in Dec 2010).

Any ideas guys?

Thanks,

G

    本站是提供個人知識管理的網(wǎng)絡存儲空間,,所有內(nèi)容均由用戶發(fā)布,,不代表本站觀點,。請注意甄別內(nèi)容中的聯(lián)系方式,、誘導購買等信息,,謹防詐騙,。如發(fā)現(xiàn)有害或侵權內(nèi)容,,請點擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多