Setting : *********TRADE SETTING*************** Auto calculation lot size : True or false Risk management : 1-100 % if auto calculation lot is true Initial lot : 0.01 *************Position management*********************** Set TP/SL base on average : true/false If true then TP/SL will auto base on historical statistic from Reversal master indicator If trailing function = true then start trailing function from TP average Target profit : Stop Loss : Trailing function : true or false Start trailing function : Trailing distance : Double lot if loss : True/false If true then initial lot*2 after SL reach on next signal trade Close all when TP achieved : true/false *************Additional/averaging*********************** Average position : true/false Average distance : Average Lot multiplier : Max average lot : Additional position : true/false Additional distance : Additional lot multiplier Max additional lot : *************Trading Strategy*********************** Hedge position : true/false If true then open buy/sell at the same time if signal trigger Trade rules Reversal master https://www.mql5.com/en/market/product/12736 Code to use in the Expert Advisor: int Up = iCustom(Symbol(),Period(),"ReversalMaster",0,1); int Dn = iCustom(Symbol(),Period(),"ReversalMaster",1,1); The following values are read from the first (already closed) bar: Buffer 0 - for Buy Signals (0) - No Signal (-1) - Buy Signal Buffer 1 - for Sell Signals (0) - No Signal (1) - Sell Signal FX power code for trend filter