I am having some problem with the fill price that i get using the:
Strategy.doLong("Go Long", Strategy.CLOSE, Strategy.THISBAR);
Basically, what i want it to do is to ENTER the LONG at the close of the current BAR. Whereas, for some reason, it always enters me at the close of the previous bar. I know it is a small problem but due to the lack of information available in EFS knowledgebase i am having this problem. Same is the case with .doShort.
Strategy.doLong("Go Long", Strategy.CLOSE, Strategy.THISBAR);
Basically, what i want it to do is to ENTER the LONG at the close of the current BAR. Whereas, for some reason, it always enters me at the close of the previous bar. I know it is a small problem but due to the lack of information available in EFS knowledgebase i am having this problem. Same is the case with .doShort.
Comment