Topic: EASTUDIO - Open Short + Candle Color generates bug on chart?

Dear Popov,
when chosing Long or Short (SHORT) and Entry Candle Color (BUY), the chart show position opened after SHORT Entry Candle Color (instead of opening after BUY). Same thing happens on Exit indicator (you must select Candle Color Bearish if you want the chart exit on BULLINSH, and viceversa.) This happens only on opening SHORT trade:

https://i.imgur.com/UScUBTB.png

Re: EASTUDIO - Open Short + Candle Color generates bug on chart?

I don't see a bug.

Logically, we have to look at your strategy the other way: Entry Candle Color (UP) and Long or Short (SHORT). What those conditions mean - long trade signal comes after up/green candle, short trade signal is raised after down/white candle. Then the next condition defines that only short signals are to be traded.

What your screenshot shows - only short trades are opened after down/white candles. Everything is working as it should.

3 (edited by poteree 2026-01-31 21:06:54)

Re: EASTUDIO - Open Short + Candle Color generates bug on chart?

the strategy opens after a BEARISH candle instead of opening after a BULLISH,

and closes after a BULLISH candle instead of closing after a BEARISH one:

https://i.imgur.com/aCVtrRy.png

Re: EASTUDIO - Open Short + Candle Color generates bug on chart?

It can't open after "BULLISH" because you have blocked buy trades by setting short trades only with the Long or Short indicator.

Do not forget that your initial setup is for long trades, short trade condition is the opposite of long condition.

Like I wrote earlier your strategy is designed to open only short trades after "BEARISH" candle.

Re: EASTUDIO - Open Short + Candle Color generates bug on chart?

The EA Studio strategies always trade "symmetrically" long and short positions.
On that reason, we set the trading rules for the long positions only and the program calculates the opposite rules automatically.

You can describe your trading rules as follows:

Long position:
- Long ore Short (short only) - never allow long entry
- Candle Color (bullish) - open a long position after a bullish candle

Short position:
- Long ore Short (short only) - allowed
- Candle Color (bullish) - open a short position after a bearish candle

That's why you see only short entries after a bearish candle. You never see long entries.

https://image-holder.forexsb.com/store/eas-short-rules-bearish-candle.png

...

If you want to trade short after a bullish candle, set the proper rule for the long positions:
Candle Color - Bearish Candle formed.

Remember: you always set the rules for long trades only.
to see the short rules, click the "Short Entry" link above the indicator slots. however, you can only see the short rules and cannot edit them.

Re: EASTUDIO - Open Short + Candle Color generates bug on chart?

thanks a lot for clarifying!