Meet the Creator - Scriptor
Code Contributor - barabashkakvn
The Bronze Warrior Expert Advisor (EA) is designed to optimize your trading on MetaTrader 5 by utilizing the iCCI (Commodity Channel Index, CCI) and iWPR (Williams’ Percent Range, %R) indicators, along with a custom DayImpuls indicator. This EA allows you to open opposing positions, making it ideal for hedging accounts.
All three indicators work off a shared averaging interval, ensuring a cohesive strategy. For the CCI, you'll want to pay attention to the levels set in the code where both positive and negative values are compared, enhancing your trading decisions.
if(count_sells==0)
if(custom[0]>Inp_DayImpuls_Level && custom[1<custom[0] && wpr[0]>Inp_WPR_Level_UP && cci[0]>Inp_CCI_Level)
{
OpenPosition(InpLots,POSITION_TYPE_SELL);
return;
}
if(count_buys==0)
if(custom[0]<Inp_DayImpuls_Level && custom[1>custom[0] && wpr[0]<Inp_WPR_Level_DOWN && cci[0]<-Inp_CCI_Level)
{
OpenPosition(InpLots,POSITION_TYPE_BUY);
return;
}
The WPR indicator features two critical levels: WPR: Level UP and WPR: Level DOWN.
Additionally, the DayImpuls custom indicator operates on a single level: DayImpuls: Level.
Comments 0