Forum: EasyLanguage Programming
February 23rd, 2017, 02:13 PM
|
Replies: 6
Views: 1,752
execution code
if (data2var2 > 0 )
then begin
vvsup = true;
VVSDN = False;
end;
if (data2var2 < 0 )
then begin
vvsup = False;
VVSDN = True;
end;
|
Forum: EasyLanguage Programming
February 21st, 2017, 08:28 PM
|
Replies: 6
Views: 1,752
net profit
vNetProfit(0),
vDailyNetProfit(0),
If Date = CurrentDate and Date <> Date[1] then
begin
vNetProfit = NetProfit;
end
else
If Date = CurrentDate then
begin
|
Forum: EasyLanguage Programming
February 14th, 2017, 06:38 PM
|
Replies: 6
Views: 1,752
NetProfit
Does anyone know how to write a code in esaylanguage that stops a robot from trading after it has profited x amount of pips?
|