SuperTrend
-
any idea how I can make the EA open buy when indicator turns green and sell when indicator turns red on chart?

-
@deltaaurum I replied to your previous thread. Please don't duplicate threads.
-
@l-andorrà Hi, this isn't a duplicated thread
it is different from my other threads. do you know how I can make it so the EA places trades based on colour change from the indicator? -
@deltaaurum You have to set up a test project, this is possible but be warned that the supper trend indicator will repaint, so many signals could happen before the line is fixed in place.
-
@jstap what block do I use?
-
@deltaaurum This depends on the indicator you have and the buffers you use, if there is a buffer for green and a buffer for red then indicator appears, otherwise indicator is visible, different on candle before.
-
@jstap I see. different for candle before meaning price x>/price <x indicator?
-
@deltaaurum Just meaning the indicator has switched from ID1 to ID0.
-
@jstap I see. thank you so much for the help. what is the difference between indicator appears and indicator is visible?
-
@jstap do you happen to know how i can put sl on PSAR and tp is 1:1 of sl?

-
@deltaaurum In SL use price level, select indicator, in TP set to % of SL.
-
@jstap thank you so much
-
@jstap this is a new project. would this work? area 1 = entries, area 2 = exits, area 3= trade continuation (https://fxdreema.com/shared/PSOOW492b)
-
@deltaaurum Everything looks like it should work, area1 and area3 are using the same group, so as is means either 1 or 3 will work but not both, udd a difrant group to 3, and if 1 has to work add if trade abovr 3 for area1 trade.
-
@jstap thank you for the reply
area 1 and area 3 should work but not both at the same time since area 1 is for entries and area 3 is for continuation of trades. but other than that it should work right? if I want both to work at the same time, I will have to add group to 3 and add if trade to 1? what do you mean by add if trade above 3 for area 1? -
@jstap I have this other project that I am testing now and it wouldn't place trades as I thought it would. can you please help me out? it should place trade on candle id 0 here in the image (https://fxdreema.com/shared/0ffRZbxcc)

-
@deltaaurum So area1 has to be in a trade before area3 creates one, so you need to check there as a trade from area1 before entering area3 trade.
-
@jstap I see. will area 3 enter trades after area 1 has entered and closed trades according to what I have created or do I need to make some changes?
regarding the other project, this is the correct image where the trade should enter on candle id 0

-
@deltaaurum Should do but, you will need to back test to check.