1. Look at first attachment; According to NT #1 dot is the first tick of bar. But this is not make sense for me and #2 dot must be first tick of bar. Which is the right?
2. I wrote sample strategy and want to reverse position when;
A. Close[0] > Open[0] && Close[1] < Open[1] then EnterLong
B. Close[0] < Open[0] && Close[1] > Open[1] then EnterShort
Look at my second attachment, there is a short position, a few red bars later when i see green candle i want to reverse from short to long my position (order price must be close of green candle which is in a circle on attachment). I wrote related code but NT reversing position candle's open data. First question because of this issue. How can i solve this issue?
PS: If i use 1 minute data, logic working correctly but when i try use not time based data for ex. renko bar type i cant reverse position from level that i want to reverse (close of reverse signal bar).
Regards,
Aytac
Comment