log in     sign up for free
 
If you really think the stock is going to make a big move - and that should be the only reason you are buying the stock to begin with - then there is no reason to haggle over an eighth of a point. Just buy the stock.
David Ryan
 
 
Home
systems (285)
 
 
Special offer: buy MetaStock (try for free)   |   Reuters QuoteCenter Real-Time Data (get a free month)   |   EOD Data
Formula Library
 
AmiBroker
MetaTrader
MetaStock
TradeStation
Wealth-Lab
NinjaTrader
 
add your formula
System Library
 
 
Account login
Your email:
Password:
 
Log in
New to s4t? Sign up.
If you forgot your password click here.
Search the Web
 
Custom Search

Gap-Trading System

Formula for: TradeStation

indicator

 

 

Views:  1596

Added: June 02, 2008
 
Rate this code:  Rate: 1 Rate: 2 Rate: 3 Rate: 4 Rate: 5
This formula has not been rated yet
 

email this link

 
 
Tags: TradeStation, indicator
 


This month's focus in Traders' Tips is my gap-trading system presented in "Trading The Opening Gap" in this issue. Here is an Omega Research EasyLanguage script for the gap-trading system. For practical reasons, this system cannot be described as an EasyLanguage system, so it must be programmed as an indicator. The value of this indicator is the cumulated profit of trading the system every day within the period considered.

In addition, day-to-day profitability can be explored with a ShowMe study. A red dot indicates a loss, a blue dot a profit. A dot at the high of the day indicates a gap up (that is, a short position), a dot at the low of the day is a gap down (that is, a long position).

 

 



Code:

Type : Indicator, Name: Gap-Trading System
inputs:
gap_up(1),
gap_down(1);
variables: gap(0);

gap = 100*(open - close[1])/close[1];

if gap >= gap_up
then begin
if close <= open
then Plot1(high, "UpGap", blue)
else Plot1(high, "UpGap", red);

end;

if gap <= -gap_down then begin
if close >= open
then Plot2(low, "DnGap", blue)
else Plot2(low, "DnGap", red);
end;

 





Code to difficult? Find somebody to help you with coding here.

 



Author: Stéphane Reverre
Source: http://www.traders.com

 

View similar (indicator for TradeStation):

eVwma
Support and Resistance Indicator
MACD RS
Measure Cycle Period
Pivotal Trading
Swing Wave Indicator
DBS-Where
Buy/Sell Pressure
CCI - Stochastic (CCI-STO)
Chande's Momemtum Oscillator
...
 
 
all formulas for TradeStation
all formulas

 

 

Email to friend

Top

 

     
However we try to maintain hiqhest possible level of service - most formulas, oscillators, indicators
and systems are submitted by anonymous users.
Therefore S4T™ does not take any responsibility for it's quality.
If you use any of this information, use it at your own risk. You are responsible for your own trading decisions.
Be sure to verify that any information you see on these pages is correct, and is applicable to your particular trade.
In no case will S4T™ be responsible for your trading gains or losses.
PayPalSecure payments by PayPal S4T™ is a part of TAURO EDUCATION NETWORK
 
Privacy note | (c) copyrights systems4trading.com 2006-2009