Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 04:37:38 +0000



Post From: Chart bar Index

[2016-08-29 17:37:54]
User382358 - Posts: 2
I am not using any new functions other than calling standard study ( RSI, moving average, etc..).
I see that the values for no_of_bars remain zero when used.

int myIndex, no_of_bars;
If (Buy) myIndex = sc.Index ;
If (EndBuy) no_of_bars = sc.Index - myIndex ;

What is required here ?
thanks