Conjure2 strategy

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

Conjure2 strategy

Postby conjure » Sat Mar 10, 2018 5:14 pm

Is it possible to combine two different Time frames in one strategy?

What i want is a strategy that opens a SHORT position when this pattern meet in DAY TimeFrame

Code: Select all
if source.high[ period] < source.high[ period-1]
and source.high[ period-1] > source.high[ period-2]
and source.high[ period-2] > source.high[ period-3]
and source.close[ period] < source.close[ period-1]then
MarketOrder("S"); end


Then check in TICK TimeFrame and open a SHORT position every 50 pip like my first strategy

http://fxcodebase.com/code/viewtopic.php?f=31&t=65680

opens a LONG position when this pattern meet in DAY TimeFrame
Code: Select all
if source.low[ period] > source.low[ period-1]
and source.low[ period-1] < source.low[ period-2]
and source.low[ period-2] < source.low[ period-3]
and source.close[ period] > source.close[ period-1] then
MarketOrder("B"); end



Then check in TICK TimeFrame and open a LONG position every 50 pip


Thank you
conjure
FXCodeBase: Initiate
 
Posts: 135
Joined: Sat Jul 22, 2017 7:27 am



Return to Indicator and Signal Requests

Who is online

Users browsing this forum: Bing [Bot] and 13 guests