dandybandy / Profile
dandybandy
Added topic detecting new trading week
This is my try to solve the problem of broker timezone differences. I'm trying to find the Hour of Day, based on the real forex market timings , independent of any time settings (Client, Broker, or anything related to time zones and DST). So hour
dandybandy
Added topic is Hour-of-Day for each H1 bar, independent of broker time setting ?
we all know there's a repetitive pattern in price changes based on the hour of trading day, which is an indicator of global forex markets sessions and their overlaps. but since there's 24 hours per day, and 120 hours per week, in each forex trading
dandybandy
Added topic How are W1 candles formed?
When tick data are downloaded and used to create a custom symbol , higher timeframes bars (M1, M2, M3, .... H4, D1, W1 etc...) are formed based on the tick data and their timings. tick data sources ask for an input of Time-Offset, to adjust the tick
dandybandy
Added topic Who is the Metaquote's Tick Source?
When I install MT5, and open a demo account , without using a broker, I can see charts with incoming ticks and historic data of many Fx pairs. Where these chart/price data are gathered from? the default metaquote demo account has a source for ticks
dandybandy
Added topic Complete Encrypt + Decrypt cycle using AES256
wanted : encrypt a string using AES256 method, format the encrypted data into hexadecimal string, then decrypt it again using same key into the original string. here's my try uchar src[], dst[], key[]; string Original_text = "bla bla bla" ; string
dandybandy
Added topic custom indicator loads/removes on new/previous timeframe
is this normal for custom indicators to get automatically removed from the previous timeframe each time I switch to another timeframe
dandybandy
Added topic Journal reports custom indicator removed, while it still updates with candles
I've written this simple custom indicator , when I change Timeframe, the terminal log shows it loaded successfully, then immediately removed. while the changes on the current bar (most recent bar in chart) still updates the indicator. why it's so
dandybandy
Added topic How to calculate an SL price, based on OrderCalcProfit() ?
I know OrderCalcProfit() returns the profit/loss of a hypothetical position based on open price, close price , volume etc. how can one do the reverse calculation ? I need it co calculate the price for trailing SL. for an open position (which
: