[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Print statement for TradeBullet Order Automation



PureBytes Links

Trading Reference Links

Hello Group.

Struggling to get my head around this.

I am trying to write a print command in EL that can
send the file to TradeBullet. Nothing happens.

Any help appreciated!!

So far I have....

If LastBarOnChart then begin;
If close >= DonMid(DonHigh,Buy2) + VALUE1 points then
begin;
print (file("D:\Tradebullet\order1.tb"), 
"PLACE,33106644,EUR/USD,DEFAULT,BUY,10000,MARKET,0,0,GTC,,");
end;


The strategy in EL is...
BEGIN
VALUE1=BUY1;
BUY("Buy") at DonMid(DonHigh,Buy2) + VALUE1 points
stop;
End;