Currently Browsing : trading system

CSI_Optimize 0

Posted on 2, February 2016

in Category SID

Description for CSI_Optimize SID 502 Test Notes for this Trading Account: A Simple CCI based system Rules:Buy using CCI as an oscillatorSell using CCI as divergence with price Rules for this Trading Account: Notes for this Trading System: Rules for this Trading System: Bar event logic: #Basic CCI system, buy using CCI as an oscillator #Sell using CCI as divergence with price if (not Position) { #We have no position, buy if the CCI today is less than -100 BuyOpen if Today(CCI($period))<-100; } else { #We have a position, look for a divergence and exit if (Today(Highest(High,$back))==HighPrice) { if (Today(Lowest(CCI($period),$back))==Today(CCI($period)))

Read More

RExample 0

Posted on 20, January 2016

in Category SID

Description for RExample SID 985 A simple R example on how to interact between the R and Seer enviroment. Notes for this Trading Account: Rules for this Trading Account: Notes for this Trading System: Rules for this Trading System: Begin event logic: $magicArray = (); # define magicArray to be an array Bar event logic: RVar(Close); R ' magicNumber <- mean(Close); # mean() is our “magic” function '; my $m = RVar('magicNumber'); Output($m); #output the indicator value we calculated push @$magicArray, $m; # add the value to an array #output the array as proof that we are adding it correctly

Read More

Dynamic Trailing Stop Loss 0

Posted on 13, May 2014

in Category SID

Description for TrailingStop SID 954 An example on how to implement a dynamic trailing stop. This example is using FXCM and Forex with EURUSD with a 10 pip stop. If the price moves up, the stop moves up with it. Notes for this Trading Account: Rules for this Trading Account: Notes for this Trading System: Rules for this Trading System: Begin event logic: #Enter an order PlaceBuyMarket('Enter',1000,OnFill => 1); Bar event logic: #Dynamic Trailing stop logic. #Loop round all orders, finding stops, extracting data assocated with them and changing them as needed. #Rules, we always want to be within 10

Read More

Example pairs trading code 0

Posted on 12, March 2014

in Category SID

Description for pairsMovArb_res SID 772 Some sample pairs trading code. Do NOT TRADE, for example only. Notes for this Trading Account: Rules for this Trading Account: Notes for this Trading System: Rules for this Trading System: Begin event logic: $pairPositions = {}; Bar event logic: my $s0 = Symbol(); my $s0_mov = log(Ref(Close, 0) / Ref(Open, -$p)); my $trade = 0; my @symbols = PortfolioSymbolsX(); foreach my $s1 (@symbols) { if( (($s1->Symbol eq 'USDJPY') && (($s0 eq 'AUDUSD') || ($s0 eq 'NZDUSD'))) || (($s0 eq 'USDCAD') && ($s1->Symbol eq 'AUDUSD')) || (($s0 eq 'AUDUSD') && ($s1->Symbol eq 'NZDUSD')) ) {

Read More

Export Close Data To R 2

Posted on 12, March 2014

in Category SID

Description for NewAccount SID 789 This examoke system exports close data to R Notes for this Trading Account: Rules for this Trading Account: Notes for this Trading System: Rules for this Trading System: Begin event logic: $data = []; Bar event logic: push @$data, Now(Close); End event logic: RVar('data', \@$data); RVar('symbol', Symbol); R ' saveRDS(data, file=paste(symbol,”.rds”, sep=”")); &#

Read More

Gator Oscillator 0

Posted on 3, March 2014

in Category SID

Description for Gator SID 145 This system introduces the Gator Oscillator developed by Larry Williams. The oscillator was created to indentify emerging trends in the market. Notes for this Trading Account: This system introduces the Gator Oscillator developed by Larry Williams. The oscillator was created to indentify emerging trends in the market. System breif: – 1 Hour. – EURUSD, GBPUSD, EURAUD. – Trades fixed units. Rules for this Trading Account: Notes for this Trading System: Rules for this Trading System: Bar event logic: my ($jaw,$teeth,$lips) = Alligator(13,8,8,5,5,3); #Alligator developed by Larry Williams, introduced to Forex by Bill Williams. my ($topBars,$bottomBars)

Read More

Fractal Breakout 0

Posted on 3, March 2014

in Category SID

Description for FractalBreakout SID 776 The Fractal indicator was first introduced to Forex by Bill Williams. He used the Fractal indicator in his infamous stragety called “The Chaos Theory”. Bill Williams defines the market as being chaotic and should not be analysed based on linear calculatio Notes for this Trading Account: The Fractal indicator was first introduced to Forex by Bill Williams. He used the Fractal indicator in his infamous stragety called “The Chaos Theory”. Bill Williams defines the market as being chaotic and should not be analysed based on linear calculations alone. This system example uses the Fractal indicator

Read More

Awesome System 0

Posted on 3, March 2014

in Category SID

Description for Awesome SID 970 This system uses the Awesome Oscillator developed by Bill Williams. The histogram type oscillator was used to compare trading momentum between a short period against a long period. The aim was to provide a wider range of data to assist in entry decisions. Notes for this Trading Account: This system uses the Awesome Oscillator developed by Bill Williams. The histogram type oscillator was used to compare trading momentum between a short period against a long period. The aim was to provide a wider range of data to assist in entry decisions. When using the AO,

Read More

Accelerator System 0

Posted on 3, March 2014

in Category SID

Description for Accelerator SID 184 The Accelerator Decelerator oscillator was introduced by Bill Williams. It’s main objective is identify the direction of the market from a short period of price action data. To use the indicator one would look for patterns such as the saucer or pikes. Gen Notes for this Trading Account: The Accelerator Decelerator oscillator was introduced by Bill Williams. It’s main objective is identify the direction of the market from a short period of price action data. To use the indicator one would look for patterns such as the saucer or pikes. Generally one wouldn’t trade a

Read More