hi, i used the following to debug my signal:
Print(File("C:\Korlog.txt"),CurrentDate,CurrentTime,RSI(c,lengthP),c,Volume);
I read the log file, closing price, and RSI are correct bar by bar (according to the chart), but volume data is never correct and I tried to add the Volume Avg indicator and that one is correct too. (the volume bar value is 1695, while the log file say 864, and i dont see correct volume info in all the bars)
much appreciated!
incorrect volume data in signal [SOLVED]
- TJ
- Posts: 7774
- Joined: Aug 29 2006
- Location: Global Citizen
- Has thanked: 1036 times
- Been thanked: 2233 times
Look up the definitions of:hi, i used the following to debug my signal:
Print(File("C:\Korlog.txt"),CurrentDate,CurrentTime,RSI(c,lengthP),c,Volume);
I read the log file, closing price, and RSI are correct bar by bar (according to the chart), but volume data is never correct and I tried to add the Volume Avg indicator and that one is correct too. (the volume bar value is 1695, while the log file say 864, and i dont see correct volume info in all the bars)
much appreciated!
Volume
Ticks
https://www.multicharts.com/trading-sof ... /Main_Page
- TJ
- Posts: 7774
- Joined: Aug 29 2006
- Location: Global Citizen
- Has thanked: 1036 times
- Been thanked: 2233 times
ps. Read the code in the Volume Avg indicator, see which keyword it uses.
-
- Posts: 23
- Joined: Oct 11 2012
- Has thanked: 1 time
yes, i fixed it based on the bartype >=2 code from the indicator, though, i dont have much idea why tick is volume for intraday, it's a bit confusing for newbies~ thanks for the pointers~