NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 3 of 3
Search: Posts Made By: Jura
Forum: EasyLanguage Programming September 29th, 2011, 12:58 PM
Replies: 8
Views: 4,110
Posted By Jura
You could use something like.. vars:...

You could use something like..


vars: mystoploss(0);

mystoploss = Highest(high, 4)[1];

if close > close[1] then begin
sellshort ("SSS") 1 contracts next bar at market;
end;
Forum: EasyLanguage Programming September 29th, 2011, 12:13 PM
Replies: 8
Views: 4,110
Posted By Jura
What have you tried, copy-pasting the example...

What have you tried, copy-pasting the example code? Then it would indeed not work. That's why I said:



If you look on the page of that manual, you'll see..
Now, look at the example code:
...
Forum: EasyLanguage Programming September 29th, 2011, 05:40 AM
Replies: 8
Views: 4,110
Posted By Jura
Try removing the SetStopLoss from the begin...end...

Try removing the SetStopLoss from the begin...end code block, something like this:

vars: mystoploss(0);

mystoploss = Highest(high, 4)[1];

if close > close[1] then begin
sellshort...
Showing results 1 to 3 of 3

What unexpected challenges have you encountered while trading on a "Funded Trader" platform?

 


 
 


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top