JTrader
Guest
- Messages
- 5,741
- Likes
- 507
Changing close of bar values, to real-time values for trade entries/exits EL question
Hi
this is the RSI Oscillator Short Entry signal from TS2000i. Many signals that I've come across in ts2000i use the value of the close of the bar for triggering the signal. I will be trading in real-time - so would want to use real-time signals/value - as they occur, rather than wait until the close of a bar....
So, how do I alter this code, to produce a signal in real-time, as opposed to the close of a bar?
Many thanks
jtrader.
{*******************************************************************
Description : RSI Oscillator Short Entry
Provided By : Omega Research, Inc. (c) Copyright 1999
********************************************************************}
Inputs: RSILength(10), OverBought(70);
If Currentbar > 1 AND RSI(Close, RSILength) Cross Below OverBought Then
Sell ("RSI") This Bar on Close;
Hi
this is the RSI Oscillator Short Entry signal from TS2000i. Many signals that I've come across in ts2000i use the value of the close of the bar for triggering the signal. I will be trading in real-time - so would want to use real-time signals/value - as they occur, rather than wait until the close of a bar....
So, how do I alter this code, to produce a signal in real-time, as opposed to the close of a bar?
Many thanks
jtrader.