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: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2223 times
Re: incorrect volume data in signal
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: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2223 times
Re: incorrect volume data in signal
ps. Read the code in the Volume Avg indicator, see which keyword it uses.
-
- Posts: 23
- Joined: 11 Oct 2012
- Has thanked: 1 time
Re: incorrect volume data in signal [SOLVED]
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~