Page 20 of 22

Re: Strategy Builder

PostPosted: Thu Nov 03, 2016 11:15 am
by steveped
Hi Apprentice,
any chance to have the allowed strategies with a different data source than price?

Thanks!

Re: Strategy Builder

PostPosted: Mon Nov 07, 2016 7:58 pm
by RuskyTraderBear
Hi, I was wondering if Averages_Slope could be implemented into this strategy? Thanks in advance.

Re: Strategy Builder

PostPosted: Tue Nov 15, 2016 7:43 pm
by latenzo
Hi all,

is there any tutorial about Strategy builder?

Thank you in advance

Enzo

Re: MA + CCI - Strategy Builder

PostPosted: Thu Nov 24, 2016 11:01 am
by Murugs2601
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.

Re: Strategy Builder

PostPosted: Sat Nov 26, 2016 8:20 am
by Apprentice
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?

Re: Strategy Builder

PostPosted: Sun Dec 18, 2016 9:47 am
by Apprentice
Strategy was revised and updated.

Re: Strategy Builder

PostPosted: Tue Jan 17, 2017 3:13 am
by Armando92
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

Re: Strategy Builder

PostPosted: Tue Jan 17, 2017 4:56 am
by Apprentice
Try it now (use file from first post)
I use ST.lua in updated version.

Re: Strategy Builder

PostPosted: Tue Jan 17, 2017 5:42 am
by Armando92
Thanks a lot Mister Apprentice, it works good now

Re: Strategy Builder

PostPosted: Mon Feb 20, 2017 3:37 am
by Armando92
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.