How to build SR based EA
-
Hey i am new here and trying to understand. i have a few questions that may solve my issue with creating an EA. excuse if not allowed.
- How to set to take trades (long/short) based on the weekly candle? (input to choose base candle timeframe)
- How to set to draw obj boxes as S/R on the 4hour timeframe based on the candke wicks (could also be manually drawn) (input to choose timeframe)
- How to set the 5min candle to enter trades after touching then closing (rejecting) the 4h obj box (SR). (or better yet based on higher high structure for longs and lower low structure for sells) (input to choose timeframe AND entry basd on candle rejection and structure rejection)
- How to set SL to be on 1. other side of the obj box, 2. at the candle high(for sells) & at candle low (for buys) 3. also with the manual input for a minimum SL
- How to set that risk 1/reward 3 based on the SL BUT SL is moved to BREAK EVEN (input to choose risk/reward)
- risking 2% of the account per trade (input for risk per trade)
- How to set no more trades on chart during week after 3 consecutive losses (input to choose on or off)
thank you for your assistance
i tried i few posts here but unable to find progress yet: http://fxdreema.com/forum/topic/4209/tutorial-07-read-prices-from-indicator-objects -
@jahdee06 Ok. That's a lot of questions for just one answer. If you don't mind I wil try to answer all of them, but firstly I need to be sure you read all Instruction and How to pages in this site. Otherwise you cannotunderstand all I say. Can you confirm your are aware of all features in the fxDreema platform?
-
@l-andorrà thanks! and yes i have read them. i have also solved 1 & 6 but with no ability to add the input option yet
-
@jahdee06 Ok. Let's begin step by step then. Can you please give more info about point 1? How is the weekly candle supposed to be considered to take trades exactly?
On the othe hand, on point 7, do you mean that no more trades are open after 3 consecutve losses happen an ANY moment of the week? -
@l-andorrà the weekly is to be considered as in the bullish candle produces only long trades for the week and the opposite for bearish/short weeks.
For #7, no i mean 3 consecutive losses on the pair for the week. and each week it would be available to 3 more consecutive losses.https://fxdreema.com/shared/ZLEb8AK2b
This what i have so far with #1 and #6 done
-
@jahdee06 Ok. Blocks 1 and 7 are blocks buys ans sells at the same time. You should specify buys only in block 1 and sells only in blocks 7.
I confirm point 1 is correct as you designed it. And about limiting to 3 consecutive losses, the block you selectes is correct. Now you neeed to do the following:
This should be the first tree block to be executed:

Then you use your normal launching trees as per your example and finally you do this:

That way you will be blocking / unblocking the launcher trees every week.
-
https://fxdreema.com/shared/JCUBk5EI
Are these 4 new blocks to be connected to the mainframe of launching blocks as i did? I believe by making the "once per bar" & "Turn on blocks" at the top on the structure made them 1st executed -
TBH i think i would rather pay someone to do this for me instead. thank you for your assistance tho you guys are very helpful! bc i think i may have a rather complicated set of conditions for this EA i would like to build.
or i believe you can see my notes in the design i made. 1/10 how complicated do you think that is? -
@jahdee06 No. Those blocks should be separated from the launching ones. You need them into separated tree blocks.