Tag Archives: Bar

Check exit on ask or bid during bar event in algo trading 

Check exit on ask or bid during bar event in algo trading

Question for someone in my Telegram group but this is a influential person so thanks to them

When I check for an exit, I am using bar events (onBar) for each FX pair.

When I check for price action on the price, should I be using ask bar or bid bar close? Or should I use the corresponding mid point of the ask or bid bar?
https://www.dukascopy.com/client/javadoc/com/dukascopy/api/IStrategy.html
Answer was:
You buy at the ask and sell at the bid, so the most natural way to handle it is to exit long trades at the bid, and exit short trades at the ask. Alternatively you can use the mid price, but it is really just a matter of preference.

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Bar test for liquidity of most volatile forex pairs 

Bar test for liquidity of most volatile forex pairs

Here is a test of the liquidiity of bars in a random time period found in Dukascopy JForex

bars

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Mechanical system Update: Inside Bar Momentum Strategy 2.0

Mechanical system Update: Inside Bar Momentum Strategy 2.0

I’m seeing more wins than losses last week Aug 4-11

https://www.babypips.com/trading/rp-forex-inside-bar-20170811

HOW DO YOU START A PROFITABLE TRADING BUSINESS? Read more NOW >>>

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!