Topic: Open long if close was higher than open yesterday.
Hello,
I would like to have indicator which allows me going long if yesterday close was higher than yesterday open.
Is such indicator already available in FSB?
Create and Test Forex Strategies
You are not logged in. Please login or register.
Forex Software → Technical Indicators → Open long if close was higher than open yesterday.
Hello,
I would like to have indicator which allows me going long if yesterday close was higher than yesterday open.
Is such indicator already available in FSB?
so you want to go long if the previous candle was bullish?
You can do this by selecting a one day moving average and go long when it rises.
Spiderman, I am not sure if it works in that way. Does moving avg take into account both open and close price? IMO 1 day SMA will be indicating for yesterday close price. BTW I am working also on markets who are closed (stock, indexes) where close price from previous bar is different than next open price.
You can do this by selecting a one day moving average and go long when it rises.
Spiderman, I am not sure if it works in that way. Does moving avg take into account both open and close price? IMO 1 day SMA will be indicating for yesterday close price. BTW I am working also on markets who are closed (stock, indexes) where close price from previous bar is different than next open price.
SpiderMan wrote:You can do this by selecting a one day moving average and go long when it rises.
You have answered your own question. With forex the close of one bar is to all intents and purposes the same as the open of the next (except at weekends) If there is a market closed period between each day this may not work. Unfortunately I don't know of any other way to do it.
Why close when you can use median price?
Footon, I am not sure what you mean. Could you elaborate you thought? You can also provide sample strategy file or youtput from strategy preferences.
Why close when you can use median price?
Base price median, not close.
Forex Software → Technical Indicators → Open long if close was higher than open yesterday.
Powered by PunBB, supported by Informer Technologies, Inc.