OmniTrader Forum - Futures and Forex
Trying to make this strategy work - Please help

^ Top
Rean

Posts: 105

Joined: 8/30/2013
Location: Johannesburg, South Africa

User Profile
 
Subject : Trying to make this strategy work - Please help
Posted : 9/11/2024 12:35 PM
Post #48937

I hope someone can assist. The trigger that I am trying to create is the 1st step in my strategy.

Basically, when a heikin ashi candle pulls away from the EMA5 (shifted to the right by 2 positions) a trigger should occur. I then manually drop to a lower timeframe for the rest of the strategy. But, I cannot get the triggers to work, and I think it has to do with the filters, combines with the coding for the EMA5[2].

The filters read as follows:
H[1] > EmaOffsetByTwo() and
L[1] > EmaOffsetByTwo()

Where EmaOffsetByTwo() is a library consisting of ema(5)[2].

I have created a quick indicator called EMAOffset as follows:
"#Indicator

Dim fValue As Single

fValue = EMA(5)[2]
PlotPrice("Value", fValue)

Return fValue"


This chat refers to the EMA Shifted idea:
https://www.omnitrader.com/currentclients/otforum/thread-view.asp?threadid=16576

I'll appreciate any assistance with this.


Attached file : HA Pullaway Trigger.docx (182KB - 76 downloads)

^ Top
Barry Cohen

Posts: 6338

Joined: 1/19/2004

User Profile
 
Subject : RE: Trying to make this strategy work - Please hel
Posted : 9/26/2024 10:35 AM
Post #48940 - In reply to #48937

Try the attached strategy, which contains the below filters. No OL necessary.

Longs
H[1] > EMA(5)[2] AND L[1] > EMA(5)[2]

Shorts
H[1] < EMA(5)[2] AND L[1] < EMA(5)[2]

Attached file : Rean LongsShorts.zip (171KB - 66 downloads)

^ Top
Rean

Posts: 105

Joined: 8/30/2013
Location: Johannesburg, South Africa

User Profile
 
Subject : RE: Trying to make this strategy work - Please hel
Posted : 10/1/2024 8:43 AM
Post #48941 - In reply to #48937

As easy as that :-)

Thanks Barry
^ Top
Rean

Posts: 105

Joined: 8/30/2013
Location: Johannesburg, South Africa

User Profile
 
Subject : RE: Trying to make this strategy work - Please hel
Posted : 10/1/2024 8:55 AM
Post #48942 - In reply to #48937

If anyone is interested, you can find more information here on the thinking:

https://www.forexfactory.com/thread/291622-trading-made-simple

Something similar also attached.

Hope it helps (and please share success stories if it does help).





Attached file : Dean Malone E.A.S.Y. Trading Method (1).pdf (1857KB - 85 downloads)



https://www.omnitrader.com/currentclients/otforum/thread-view.asp?threadid=16663&posts=4