External Inputs and Default Values: These are parameters you will be able to change at any time prior to activating the strategy through the inputs window.
Keltner Channel Indicator
Length = 20
Numatrs = 1.5 -> this value is multiplied by the average true range of the current bar to determine the distance from the upper and lower bands to the midline.
Other inputs / default values
Limit = 0
Stop = 0
Use SSL = False
Port = 25
Trailing Stop = 0
Email Alert = False
Order Notation
KltChLE = Buy Entry Order
KltChLE_SL = Stop loss order for a long position
KltChLE_TP = Limit order for a long position
KltChSE = Sell Entry Order
KltChSE_SL = Stop loss order for a short position
KltChSE_TP = Limit order for a short position
Buying logic
An entry order to buy at the high price of the current bar will be generated if the current bar crosses the upper band.
Selling Logic
An entry order to sell at the low price of the current bar will be generated if the current bar crosses the lower band.
Exit Logic Long
The strategy will automatically place a stop loss and/or take profit however many pips away from the open price as specified by the trader in the strategy inputs.
Trailing Stop
If a trailing stop is added by the trader, the stop value will be changed dynamically for every bullish market movement.
Exit Logic Short
The strategy will automatically place a stop loss and/or take profit however many pips away from the open price as specified by the trader in the strategy inputs.
Trailing Stop
If a trailing stop is added by the trader, the stop value will be changed dynamically for every bearish market movement.
Not every strategy has an email alert function embedded within its code. To verify if the strategy you are using does, open the Format Strategy Advisor window for that stEA and see if it has the fields highlighted below.
The highlighted fields should be filled in as follows in order to activate the email alerts:
Username the user name of the email you would like to use as the sender Password the password used to log on to your email account Smtp This will vary depending on your email provider (gmails SMTP is smtp.gmail.com and yahoos is plus.smtp.mail.yahoo.com) From the full email address from which the email alert will be sent To- the full email address to which the email alert will be sent (it can be the same as the address in the 'from' field) UseSSL the use of SSL also depends on the email provider. Please verify whether or not your email provider uses SSL. If so, this field should be changed to True. EmailAlert this field should be changed to True, if you would like to activate email alerts
Last edited by Lucas Izidoro; 11-24-2010 at 10:19 AM.
Thank you for posting this keltner channel strategy. I'm currently working with this indicator into more of a range bound situation. Could you alter this keltner strategy so that it sells on the upper band and buys on the lower band?
Disclaimer: Trading foreign exchange on margin carries a high level of risk, and may not be suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to trade foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with foreign exchange trading, and seek advice from an independent financial advisor if you have any doubts. Any opinions, news, research, analyses, prices, or other information contained on this website is provided as general market commentary and does not constitute investment advice. Forex Capital Markets LLC. will not accept liability for any loss or damage, including without limitation to, any loss of profit, which may arise directly or indirectly from use of or reliance on such information.