Please help me to not necessarily develop my strategy, but to realize my strategy. I have an idea in mind--a backtested strategy-- though not prepared to disclose fully. However some of its parameters / variables go like this and as follows.
In speculating with currency futures, and the broker is IB, how does one pull the following on NT 8 -- current values and previous hour's values? Please correct me if I am wrong, Very new to NT, I am only working with 8 and not 7 but I am not seeing the same option/window in 8 that I saw in 7.
Generally the idea goes like this. Basically at time equals t=0 (now), I would like to pull the previous hour's open, high, low, close. Then do calculation against the current bid/ask values and then open/close a position by going long/short. That's generally the gist of the strategy! [And of course, the current hour's open is the previous hour's close].
And how do you make NT8 pull those values in variable form every hour--instead of every second via tick by tick. To clarify, let's say I only intend to trade every 60 minutes. Whether the market hits the PNL drastically, that's a different matter. However my core philosophy is basically to wait and not chase every pip and tick like HFT people. Instead my principle is to carry a predetermined amount of loss until the market moves in the speculated position and go from there.
To to summarize for starters, how do you make NT8 do the following, preferably without quite yet going into the NinjaScript.
Pull current bid/ask in variable form
Pull previous hour's open, high, low, close
Make it do this every 60 minutes. Period. Please help!
Thank you!
Robel
Comment