Help - Search - Members - Calendar
Full Version: Bollinger Ema(20) Trading System
Visual Trading Systems User Forums > VTTRADER TRADING SYSTEMS > TRADING SYSTEMS REQUESTS
FXMan007
I am trying to set up a auto system the rules are as follows.

Indicators:
Bollinger Bands(C, 20, E, 2)

Entry is made by a conditional offer which is placed 1 pip above the candle which bounces off the 20EMA for long trades, and 1 pip below for short trades. Conditional off is only placed if the EMA is trending i.e slopping up (long trade) or down (short trade).

Exit is made by a trailing stop placed 1 pip below candle for Long trades and 1 pip above for short trades

I have attached an image to clarify this
Click to view attachment
cskidmore
Hello,

It will not be possible to create this system in VT Trader's scripting language or trading systems builder as requested, for a few reasons.

The first reason is because VT Trader's scripting language and automated trading engine cannot submit, manage, or remove any type of pending entry order (or server-based stop (or trailing stop) or limit order). The automated trading engine can only submit buy and sell market orders. And, it can only submit those orders after the candle has closed assuming your signal (to submit an order) was valid when the bar closed.

The second reason is because the logic perhaps seems a bit too discretionary. For example, what you consider a 'retrace' or 'bounce' off of the 20 EMA may be different than what a computer can be programmed to determine is a 'bounce'. Also, your visual interpretation of whether or not the 20 EMA is sloping up or down enough to define trending is probably quite different than what could be programmed to be considered sloping up or down (i.e. from bar to bar, the 20 EMA would almost always - 99.999% of the time - be either sloping up or down as far as the programming logic was concerned).

It may be possible to create a system that can provide you with early alerts perhaps that your required trade setup is possibly getting ready to happen if you can more accurately describe those discretionary conditions in a way that they can be 100% mechanically duplicated. Basically, the alerts could give you a heads up that you need to look at the chart and determine if you want to place the order(s) manually, etc.

Regards,
Chris
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.