Hi, I wan to ask about buy and sell or entry price. I've heard about the word 'buy at the ask and sell at the bid' but there's no one talking about spread. Using the code below I want to know which one is correct between adding spread or not. void
Hi, I've met this 2 statement that's contradict with each other many many times when reading about trading strategy . Here's the statements: 1. Not all strategy works on all timeframe. And what I take from this statement is that
Hi, I have a batch file that I want to check if it is exist or not in OnInit() function. I use this code to if ( FileIsExist ( "Taskkill.bat, 1" )== false ) Print ( "***** file not exist, error code "
I want to calculate a history profit on OnDeInit event handler. This function only runs when backtesting the strategy. My code looks like this, void CStrategy::OnDeInitEvent( string & SymbolArray[], int numberOfTradeableSymbols, TRADE_DIRECTION
I put an indicator on the chart and created a sub-chart and drag drop moving average on the sub-chart. I want to code a signal when moving average crossing the indicator then open or close the trade. The problem is that the moving average value