Experts: Self Optimizing RSI or MFI Trader - page 3

To add comments, please log in or register
Jomer Damalerio
17
Jomer Damalerio  
moha27844:
could you pls explain the exact details?

i think line code 206 >>>from  ticket=OrderSend(NULL,OP_BUY,lotsize,Ask,10,Bid -(stoploss*Point),Bid+(takeprofit*Point),"Sell Order",magic,0,clrRed); to

                              ticket=OrderSend(NULL,OP_BUY,lotsize,Ask,10,Bid -(stoploss*Point),Bid+(takeprofit*Point),"Buy Order",magic,0,clrRed);


hope this helps...

John Davis
12264
John Davis  
Jomer Damalerio:

i think line code 206 >>>from  ticket=OrderSend(NULL,OP_BUY,lotsize,Ask,10,Bid -(stoploss*Point),Bid+(takeprofit*Point),"Sell Order",magic,0,clrRed); to

                              ticket=OrderSend(NULL,OP_BUY,lotsize,Ask,10,Bid -(stoploss*Point),Bid+(takeprofit*Point),"Buy Order",magic,0,clrRed);


hope this helps...

Hi, thanks for pointing out my error. Updating the code to this in the latest release:

            if(CheckMoneyForTrade(NULL,lotsize,OP_SELL) && VolumeGood)
              {
               ticket=OrderSend(NULL,OP_SELL,lotsize,Bid,10,Ask+(stoploss*Point),Ask-(takeprofit*Point),"Sell Order",magic,0,clrBlue);
               Print("Best ",EnumToString(index)," value for sell at ",sell," current ",EnumToString(index)," value: ",currIndyValue,
                     " Old ",EnumToString(index)," ",prevIndyValue," Backtest Profits :: (SELL ",sellProfits,") : BUY ",buyProfits);
              }
           }
        }
      else if(sellProfits<buyProfits)
        {
         if((currIndyValue>os && prevIndyValue<os) || inAggressive)//buy
           {
            if(CheckMoneyForTrade(NULL,lotsize,OP_BUY) && VolumeGood)
              {
               ticket=OrderSend(NULL,OP_BUY,lotsize,Ask,10,Bid -(stoploss*Point),Bid+(takeprofit*Point),"Buy Order",magic,0,clrGreen);
               Print("Best ",EnumToString(index)," value for buy at ",buy," current ",EnumToString(index)," value: ",currIndyValue,
                     " Old ",EnumToString(index)," ",prevIndyValue," Backtest Profits :: (BUY ",buyProfits,") : SELL ",sellProfits);
              }
Darren Brown
10
Darren Brown  
Could you look at instead of using RSI / MFI, could it be coded to use Williams % R (%R) instead  Thankyou 
Bahattin Turan
52
Bahattin Turan  

Hello.. John Davis


Can you put trend filter and time interval filter in EA?

Trend filter; Current time / H1 / H4 / D1

Time Period: 1-02-08

2-08-12

3-14-18

4-18-22

5-Optionel

h.heathan
8
h.heathan  
im fairly new to using EAs ive been doing forex manually for a bit now. do i need to have rsi open on a chart for this to work properly?
h.heathan
8
h.heathan  
hi still new to using EAs are these parameters listed below what you changed about the EA? also wondering where can i find these if so. 
Ahto Kiik:

Hi, looking good!


i tried settings on eur/usd 5 min chart and got only winning results. from 100 eur to 5000+ with 1 year backtest. Next ill test it on demo trading next week to see real results.

magic=4376

magic,F=1

magic,1=4376

magic,2=0

magic,3=0

optomizingPeriods=360

optomizingPeriods,F=1

optomizingPeriods,1=360

optomizingPeriods,2=1

optomizingPeriods,3=1490

inAggressive=1

inAggressive,F=0

inAggressive,1=1

inAggressive,2=-1

inAggressive,3=0

inTradeReverse=0

inTradeReverse,F=0

inTradeReverse,1=1

inTradeReverse,2=-1

inTradeReverse,3=0

inOneOrderAtATime=0

inOneOrderAtATime,F=0

inOneOrderAtATime,1=0

inOneOrderAtATime,2=1

inOneOrderAtATime,3=1

Lot_sizing_dynamic_invalidates_static=

Lots=0.01000000

Lots,F=0

Lots,1=0.01000000

Lots,2=0.00000000

Lots,3=0.00000000

inUseDynamicLotSize=1

inUseDynamicLotSize,F=0

inUseDynamicLotSize,1=1

inUseDynamicLotSize,2=-1

inUseDynamicLotSize,3=0

inPercentageOfRisk=2.00000000

inPercentageOfRisk,F=0

inPercentageOfRisk,1=2.00000000

inPercentageOfRisk,2=0.00000000

inPercentageOfRisk,3=0.00000000

Index_Indicator_Values=

index=1

index,F=0

index,1=0

index,2=0

index,3=0

IndicatorTopValue=100

IndicatorTopValue,F=0

IndicatorTopValue,1=100

IndicatorTopValue,2=0

IndicatorTopValue,3=0

IndicatorBottomValue=0

IndicatorBottomValue,F=0

IndicatorBottomValue,1=0

IndicatorBottomValue,2=0

IndicatorBottomValue,3=0

IndyTimeframe=1440

IndyTimeframe,F=0

IndyTimeframe,1=0

IndyTimeframe,2=0

IndyTimeframe,3=0

inIndyPeriods=14

inIndyPeriods,F=0

inIndyPeriods,1=36

inIndyPeriods,2=1

inIndyPeriods,3=149

IndyAppPrice=0

IndyAppPrice,F=0

IndyAppPrice,1=0

IndyAppPrice,2=0

IndyAppPrice,3=0

SL_TP_Dynamic_invalidates_static_values=

iStoploss=1000

iStoploss,F=0

iStoploss,1=1000

iStoploss,2=0

iStoploss,3=0

iTakeprofit=2000

iTakeprofit,F=0

iTakeprofit,1=2000

iTakeprofit,2=0

iTakeprofit,3=0

inDynamic=1

inDynamic,F=0

inDynamic,1=0

inDynamic,2=1

inDynamic,3=1

inStoplossMultiple=2.00000000

inStoplossMultiple,F=0

inStoplossMultiple,1=2.00000000

inStoplossMultiple,2=0.00000000

inStoplossMultiple,3=0.00000000

inTakeProfitMultiple=7.00000000

inTakeProfitMultiple,F=0

inTakeProfitMultiple,1=7.00000000

inTakeProfitMultiple,2=0.00000000

inTakeProfitMultiple,3=0.00000000

Break_Even_Settings=

bUseBreakEven=0

bUseBreakEven,F=0

bUseBreakEven,1=0

bUseBreakEven,2=1

bUseBreakEven,3=1

inTrigger=200

inTrigger,F=0

inTrigger,1=200

inTrigger,2=0

inTrigger,3=0

inPadding=100

inPadding,F=0

inPadding,1=100

inPadding,2=0

inPadding,3=0


123
To add comments, please log in or register