I've read about ArrayBsearch but from docs I don't know whether it can be used to search for an element in a two dimensional array. I have the following array: double sZones[][ 2 ]; double upperVal = 0.2312 ; double upperVal = 0.2303 ; How can
I am trying to search through timeframes from M20 to M4 for two bearish candlesticks from two different time frames that have the same high and open. The two candles may not be from consecutive timeframes. The images below give a better idea
Basically I have been able to write the code for the candle pattern. The candle pattern is satisfied when the upper wick of 3 consecutive timeframes has the same High and Close for a bullish candle. The details of the pattern are explained in the
I have written code the place a send order but I want to be able to calculate the lot size based on a few things. Given the entry price and stop loss, how can I calculate my lot size so that 2.5% of my current account balance would be risked on