This will be my first post, and I have to admit I have no understanding of programing, sorry I apologize if this should be known information,
Lets jump right in.
EA basis's trades on the open of a candle, and then closes the trade on the close of the same candle,
The idea is to determine only the win/lose ratio, based on the open and close of a candle or said differently a close from the previous candle to the close of the current candle or the opening of the previous candle to the opening of the current candle ?
I trade binary options and the idea is to find a code that is able to give signals as well as optimize other coding to fit the right parameters for trading binary options in 30 minute timeframes. In my example above this would be for trading 30 minute candles.
Also have the ability to determine the amount of consecutive losing trades in a row as well as determining the amount of consecutive winning trades in a row. I dont care about PIPS, its all about the win/lose ratio
I was just asking if it could be done ?
But I would assume considering you are the one who answered you have the knowledge to be able to code a EA, which is based on a single candle ?
I dont expect anything for free, but I guess i thought it would be good to get the right info before ...
I dont care about PIPS, its all about the win/lose ratio
double riskAve = pipLotsLost / lotsLost,
rewardAve = pipLotsWon / lotsWon;
history_rrr = rewardAve / riskAve;
double accuracy = nWon / Double(history_nTrades),
expectancy = (1. + history_rrr) * accuracy - 1;
To add comments, please log in or register