Mallow_2007 / Publications
Forum
iATR error "wrong parameters count" Please help
Here's a snippet of the code void OpenScalpTrade( double ask_price, double bid_price) { // Calculate the ATR for dynamic stop-loss double atr_value = iATR ( Symbol (), 0 , ATR_Period, 0 ); if (atr_value <= 0 ) return ; // ATR should be positive // Calculate the lot size based on the risk