Forum

Error Get SL = 0

i want to create flexible stoploss range by confirmation of candlestick, but my code still error . Here is my code : int GetSLPip() { int pips = 0 ; double p = 0 ; double delta= 50 ; for ( int i= 0 ; i<=delta; i++) { // Counting Pips for SL Value double HighSL = MathAbs (High[ 1

Get Range of Stop Loss Automatically

Hi, I try to code EA that can automatically get range of stoploss, but still not work. Here is my code, please help ! //-------------------------------------------------------------------+ //Get Range of Stop Loss //-------------------------------------------------------------------+ double