Different stoploss depending on the day of the week

Posted By: nanotir

Different stoploss depending on the day of the week - 08/15/15 12:24

Hi

I am trying to change the stoploss depending on the day of the week. The purpose is to reduce the risk in the days that there are news from the FED for example.
Anyone knows how to implement it?
Posted By: Mithrandir77

Re: Different stoploss depending on the day of the week - 08/15/15 23:48

I think you can do that inside a TMF or a trade enumeration loop .
. An example with a trade enumeration loop:

Code:
if (dow() == MONDAY)//or whatever day the FED releases news
    for(open_trades) 
    {
        if (!TradeIsVirtual and !TradeIsPool)//unless you want to modify these trades...
            TradeStopLimit = TradeStopLimit / 2;//or whatever you want
    }

Posted By: nanotir

Re: Different stoploss depending on the day of the week - 10/10/15 21:26

thanks
© 2023 lite-C Forums