Forum

Need Clarification on My Renko

extern int RenkoSize= 20 ; //Declare valuables double LastRenkoValue= 0 ; double RenkoOpen[ 1000000 ]; //Place holder double RenkoClose[ 1000000 ]; //Place holder int ArrayIndex= 2 ; void OnTick () { double Delta= 0 ; //Calculate pips for renko box if (LastRenkoValue== 0 ) {

OrderModify Error 4108 from Trailing Stop + Scaling-In Trade System

Hi coders, I need help on fixing OrderModify Error 4108. I am trying to develop EA that buys incrementally (Scaling In) with trailing stop on each order. Error happens when particular order hit the stoploss and later EA tries to modify the same order for trailing stop but, of course, EA cannot find

Heiken Ashi Cannot Find the haClose==haLow Signal

Hi all, I need help on developing the signal using Heiken Ashi . I am writing an EA with Heiken Ashi, which has 3 conditions on the signal: Two consecutive heiken bars of same color (Bull if haOpen2<haClose2 && haOpen1<haClose2) Long shadow on the direction of trend (Bull if haClose1<haHigh1) No