Forums>StrategyQuant>General Discussion>Use 0 or 1 in custom blocks?
I’m probably over thinking this however I can’t seem to find the answer.
I’m coding some custom blocks for use in MT4/5, 0 is the bar being built and 1 is the bar just closed.
It would seem, as I’m building blocks based on Tradestation code that 0 is the bar just closed.
So when creating custom blocks which do I use?
Close[0] or Close[1] for the bar just closed?
Hey Tomas,.
I may not have been clear with my question.When coding a custom block l, if coded to MT4/5 parameters will SQX convert that code correctly to Tradestation code?
Does the backtest engine selected in the settings of AlgoWizard account for the difference?
Thanks
- This reply was modified 1 week, 4 days ago by
OnTheEdge_.
very good questions…someone also telling that STOP or LIMIT orders cant be used that those platforms doesnt have BARS VALID function…is this true or not?
You want to be a profitable algotrader? We started using StrateQuant software in early 2016. For now we have a very big knowhow for building EAs for every possible types of markets. We share this knowhow, apps, tools and also all final strategies with real traders. If you want to join us, fill in the FORM. 1500+ final SQX strategies for members running on demo accounts to verify the edge DEMO ACCS. We provide also strategies for indices - DAX, DOW JONES, NASDAQ, SP, UK, because we have realtick data from our brokers.
- This reply was modified 1 week, 4 days ago by
You must be logged in to reply to this topic.