Reply

10 candles must be higher than the moving average

3 replies

Renz Carillo

Subscriber, bbp_participant, 1 replies.

Visit profile

3 years ago #269187

Just like what the title says, how do i make a condition where 10 candles must be higher/lower than the moving average value

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

3 years ago #269205

Hello,

it can be done. You can simply count bars. Like if Close > EMA you increase the counter value by 1. If Close < EMA you reset the counter to 0.

You can then setup a condition such as if Counter > 20 (20 bars above EMA) + another condition you would enter a trade

0

hankeys

Customer, bbp_participant, community, sq-ultimate, 487 replies.

Visit profile

3 years ago #269206

is it really possible to make the counter in the algowizard?

You want to be a profitable algotrader? We started using StrateQuant software in early 2014. For now we have a very big knowhow for building EAs for every possible types of markets. We share this knowhow, apps, tools and also all final strategies with real traders. If you want to join us, fill in the FORM.

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

3 years ago #269277

Yes, can be done. Check the example attached

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

0

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