Author Topic: System with min 2 week break between trades  (Read 2165 times)

drakul

  • Newbie
  • *
  • Posts: 3
    • View Profile
System with min 2 week break between trades
« on: March 18, 2016, 01:33:05 pm »
Hi , I created a simple trading system based on trends and acting on weekly ticks.

I intend to insert a condition that prevents the system transactions from happening, if the last transaction was in last tick.
The idea is to prevent transactions being made week after week , that the smallest gap between the two transactions is 2 weeks.

You know how to do it?

Here's the formula:

Buy =
(
C > EMA ( C , 10)
AND C > EMA ( C, 15 )
AND C > EMA ( C , 20)
AND RSI ( 4 ) < 82
)
;

Sell ​​=
    (
C < EMA ( C , 10)
And C < EMA ( C, 15 )

)
    OR RSI ( 4 ) > 82

    ;

Short = 0 ;
Cover = 0 ;

Thanks for the help

madhavpatel

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: System with min 2 week break between trades
« Reply #1 on: April 15, 2017, 02:22:57 am »
U need Afl ??