READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

TEMA Crossover

6 replies

adamb24

Subscriber, bbp_participant, community, 0 replies.

Visit profile

8 years ago #234720

Hi, I’m having trouble setting those rules :

– if TEMA crossed above SMA18

– RSI is above 50

– MACD is above 0.

In my EA I set “Tema crosses above SMA18 ”  but when I backtest it it seems that the EA only opens positions when the three conditions are true at the same time but I want to open a position when the tema already crossed or is crossing above sma18 and the two other rules are true.

Attachments:
You must be logged in to view attached files.

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

8 years ago #234744

Hello,

how many bars are you willing to wait the the signal after TEMA cross? I can setup an example on this

0

adamb24

Subscriber, bbp_participant, community, 0 replies.

Visit profile

8 years ago #234771

I don’t have a deadline for opening the position so whenever the conditions are true would be great.

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

8 years ago #234780

Ok check the strategy attached

0

adamb24

Subscriber, bbp_participant, community, 0 replies.

Visit profile

8 years ago #234786

Can you change it so that once the tema crossed the sma it only opens one position?

0

adamb24

Subscriber, bbp_participant, community, 0 replies.

Visit profile

8 years ago #234787

For instance when the tema crossed above or below sma it only opens one long or short position until a new cross?

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

8 years ago #234795

You can add one additional order. See the screenshot

Attachments:
You must be logged in to view attached files.

0

Viewing 6 replies - 1 through 6 (of 6 total)