Работа завершена
Техническое задание
Looking for someone who has experience coding trading robots and indicators. You need to know either MQL4 or MQL5 and have a basic understanding of trading online. I have a trading system that needs translating into code. System involves linear regression, standard deviation, and exporting data to text files on a local harddrive. I am on a budget but I need this done, so send an offer if my price is too low and I will definitely consider it.
System:
//Variables
input X = integer
input Y = float
input Z = integer
Dot = the last point of a linear regression line of the previous X bar close values
Stdev = Y * the standard deviation of the previous X bar close values
Upperdot = Dot + Stdev
Lowerdot = Dot - Stdev
R = correlation coefficient calculated from the previous X bar close values
//Timeframes include 1min, 5min, 15min, 1hour, 4hour, 1day, 1week, 1month
//Indicator
print Dot, Upperdot, Lowerdot as dots on chart
//enter buy trade
if price has touched Dot since the last time it touched Lowerdot
if price <= Lowerdot
enter buy trade of lotsize Z
set trailing stoploss from Lowerdot with size equal to Stdev
append info to text or spreadsheet file including R for current timeframe, R for next higher timeframe, R for next higher timeframe, R for next higher timeframe (continues until Monthly timeframe)
else do nothing
else do nothing
//enter sell trade
if price has touched Dot since the last time it touched Upperdot
if price >= Upperdot enter sell trade of lotsize Z
set trailing stoploss with size equal to Stdev
append info to text or spreadsheet file including R for current timeframe, R for next higher timeframe, R for next higher timeframe, R for next higher timeframe (continues until Monthly timeframe)
else do nothing
else do nothing
//manage trade
if there is a trade open
if trade is a buy trade
if price >= Dot
close buy trade
else do nothing
else if trade is a sell trade
if price <= Dot
close sell trade
else do nothing
else do nothing