PRICE CROSSOVER RECTANGLE OBJECT FAILED, ANYONE CAN FIX MY PROJECT?
-
I decided to open a new thread. I dropped a comment on the original forum where the idea comes. It sounds like this:
link: http://fxdreema.com/forum/topic/4209/tutorial-07-read-prices-from-indicator-objects?page=1Helo @miro1360 , @AlphaOmega , @roar , @fxDreema , @ambrogio , @l-andorrà or everyone who familiar with this topic, I need a hand please.
I want to modify it become -> when price cross above support and price cross below resistance then the order immediately open. I’m not gonna wait the candle ID 1 to close. So if current candle entered the zone and bounce back crossing the support_hi or resist_lo. There, the order must be placed.

I tried it with current candle cross or bid price cross with price level object it seems doesn’t work. This is my project:
https://fxdreema.com/shared/WzXg8uQyeThis is the rules:
Buy:- Price cross above up_support
when: - Price < Lower BB
- up_support < Lower BB
Sell:
- Price cross below dn_resist
when: - Price > Upper BB
- dn_resist > Upper BB
I need the rules like that, but maybe there was a problem somewhere in my block..
Thank you guys!!!
Anyone can help me?? Pleasee??

- Price cross above up_support
-
your logic doesnt look like you spend time on structuring it.
maybe blook 220/221 should be restructered... -
Bro, I almost spend all my day learning to operate it, but this is just the beginning. Lol
hmm .. so, is that the only block that's wrong? or is the overall logic in my project not quite right?
And I have a question, is it better to use the bid price (tick Id 0) or candle id 0 as a comparison to this condition? and can you explain the difference please? @bk7 -
i would restructure it and also think about a tp which is known before you enter a trade
-
Thank you so much, appreciate it! @bk7 , and if you don't mind would you give me some explanation about how that "logic things" works, so I can learn from it..
-
@lukydwisaputra
you should start with the question:
what happens less often, that is going to be checked first, test it once it works get to the next step... -
@bk7 Sometimes, TP is known before you enter. I don't know it, my EA knows it. hahaha
-
@jsauter86
the systems which actually bring profits for me are those which have a fixed sl and tp before going into it^^
the other things dont work that great for me, or maybe i am missing something... wanna share your wisdom? -
@bk7 okay let me breakdown the block since started and make sure that's work step by step. And also have to test the fixed risk reward ratio for this strategy.
But how was my previous questions about candle ID and bid price ? which one is works for this case? are both the same? -
i would start with the regular candle price once you tested it and think it is profitable you can move to bid ask prices for tp sl and entry prices and choose which price which is of course a better fit but also more complicated if you are not so familiar with bid ask prices and when to use which...
-
sometimes ill use a sl of 2.5 atr, depending on time frame im trading in. So technically i have no clue what it is.
but yes, id say if im manually entering trades im reaching for a specific target. so specific though that none of what im doing at that time will be in an EA. Who are you mentoring under?
-
@jsauter86
i didn't use atr that much yet to be honest..
what do you mean with " Who are you mentoring under"? -
Hi @lukydwisaputra . Try use these block for your early question.

-
-
@lukydwisaputra , i can see 3 winning trades in your screenshot. Maybe you should try forward test it to see if its really working like what you programmed it to do.
-
can you share your project?
