Strategy Builder

Strategies are published here.

Moderator: admin

Re: Strategy Builder

Postby steveped » Thu Nov 03, 2016 11:15 am

Hi Apprentice,
any chance to have the allowed strategies with a different data source than price?

Thanks!
steveped
 
Posts: 7
Joined: Sun Oct 19, 2014 3:57 am

Re: Strategy Builder

Postby RuskyTraderBear » Mon Nov 07, 2016 7:58 pm

Hi, I was wondering if Averages_Slope could be implemented into this strategy? Thanks in advance.
RuskyTraderBear
 
Posts: 1
Joined: Mon Nov 07, 2016 7:36 pm

Re: Strategy Builder

Postby latenzo » Tue Nov 15, 2016 7:43 pm

Hi all,

is there any tutorial about Strategy builder?

Thank you in advance

Enzo
latenzo
 
Posts: 3
Joined: Mon Dec 16, 2013 2:27 pm

Re: MA + CCI - Strategy Builder

Postby Murugs2601 » Thu Nov 24, 2016 11:01 am

Hello Dear,

My target to achieve 20 PIPS per trade, but i want to continue to open positions until that 20 PIPS target is achieved....once achieved, all the opened positions to be CLOSED IMMEDIATELY.

1. IF Moving Average + CCI and Current Candle signals for BUY….Then, place our First Trade (BUY AT MARKET 0.1 LOT).

2. IF Target Profit 20 PIPS is not achieved and market is reversed, then place our Second Trade (SHORT AT MARKET 0.40 LOT) at the same price level of First BUY Trade.

3. IF Target Profit 20 PIPS is still not achieved and market is reversed back, then place our Third Trade (BUY AT MARKET 0.90 LOT) at the same price level of First Trade and Second Trade.

4. AND SO ON……until the target profit of 20 pips is achieve.

NOTE:
First Trade 0.1 LOT ( is nothing but 1square (1x1)
Second Trade 0.4 LOT ( is nothing but 2square (2x2)
Third Trade 0.9 LOT ( is nothing but 3square (3x3)
Fourth Trade 1.6 LOT ( is nothing but 4square (4x4)
Fifth Trade 2.5 LOT ( is nothing but 5square (5x5)

NO STOP LOSS IS REQUIRED
NO TRAILING STOP IS REQUIRED

NOTE:
1. ALL trades to be continue to be in OPEN position until the Target Profit 20 PIPS is achieved.
2. ONCE 20 PIPS target is achieved, then, ALL the opened positions to be closed immediately.
3. START the strategy from STEP 1 again for fresh trades.

=============

IF Moving Average + CCI and Current Candle signals for SELL…. Then, the above strategy to be reversed.

That is
- Open First Trade as SHORT at Market (0.1 LOT)
- Second Trade as BUY at market (0.40 Lots at the same price level of First Trade)
- Third Trade SHORT at Market (0.90 Lots) etc….until the target profit 20 PIPs are achieved.

Kindly writes codes as quickly as possible and please send me your quote as well.
Attachments
20161124181104.pdf
(99.09 KiB) Downloaded 261 times
Murugs2601
 
Posts: 2
Joined: Thu Nov 24, 2016 10:30 am

Re: Strategy Builder

Postby Apprentice » Sat Nov 26, 2016 8:20 am

You'll need to have a non FIFO account for this setup.

(BUY AT MARKET 0.1 LOT).

We can use 1 lot instead

CCI zero line cross will give entry signals/ or you will use initial price level?


IF Moving Average + CCI and Current Candle signals for BUY Then, place our First Trade

Price >MA
CCI >zero line

These conditions must be met for the subsequent trade?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17510
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Strategy Builder

Postby Apprentice » Sun Dec 18, 2016 9:47 am

Strategy was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17510
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Strategy Builder

Postby Armando92 » Tue Jan 17, 2017 3:13 am

I don't know why, but when I use Supertrend on this strategy, it only makes buy trades in backtests.
With all others indicators it's ok, the problem is only with the Supertrend
Armando92
 
Posts: 7
Joined: Sat Jan 14, 2017 5:38 am

Re: Strategy Builder

Postby Apprentice » Tue Jan 17, 2017 4:56 am

Try it now (use file from first post)
I use ST.lua in updated version.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17510
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Strategy Builder

Postby Armando92 » Tue Jan 17, 2017 5:42 am

Thanks a lot Mister Apprentice, it works good now
Armando92
 
Posts: 7
Joined: Sat Jan 14, 2017 5:38 am

Re: Strategy Builder

Postby Armando92 » Mon Feb 20, 2017 3:37 am

Hi Mr Apprentice
First, sorry for my english but I try to do my best :)
I like very much Strategy Builder and it's useful for me, but I have a problem with the EMA indicator.
When I use a MVA, there is no problem, everything works good, but with an EMA the backtests are right but in live the alerts are wrong.
My settings are : ST, MACD and EMA.
Thanks a lot for all your job.
Armando92
 
Posts: 7
Joined: Sat Jan 14, 2017 5:38 am

PreviousNext

Return to Custom Strategies

Who is online

Users browsing this forum: Bing [Bot] and 7 guests