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!

Learning

1 replies

Ryan T Mann

Subscriber, bbp_participant, 1 replies.

Visit profile

5 years ago #271754

Im not very much of a coder more just a trader and am trying to learn the strategies in which i have created through the pseudo code. Is there an easier way I can visual my strategy other than trying to ask on here or struggle to understand the code like words?

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

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

5 years ago #273983

Hello,

let’s have a look into the long entry condition first ([2] means two bars back)

LongEntrySignal = ((OpenWeekly(Main chart)[2] >= CloseDaily(Main chart)[2]) and (CloseDaily(Main chart)[2] >= HeikenAshiOpen(Main chart)[1]));
The condition is valid in case when the week before previous week opening price is greater than the day before previous day closing price AND the day before previous day closing price is greater than the HeikenAshi open price for the last bar

In such case you open a buy stop order at HeikenAshi TenkanSen price The order will be valid for 12 bars

Replace pending orders means once you get a new signal the existing order will be replace by a new one

Stop-loss will be set to ATR(15) multipled by the StopLossCoef value

Profit-target will be set to fixed amount of pips Also Move SL to BE is used with a fixed amount of pips (MoveSL2BE) while Trailing-stop is used in a distance of ATR(35) multiplied by TrailingStopCoef

0

Viewing 1 replies (of 1 total)