NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 8 of 8
Search: Posts Made By: gurji
Forum: EasyLanguage Programming September 21st, 2022, 11:55 AM
Replies: 11
Views: 3,462
Posted By gurji
Here is all the code that run the orders if...

Here is all the code that run the orders if conditions are met.


if (atrOk = 1) and (curDirection = -1) and (ocatrOk = 1) and (ocsizeOk = 1) and (olpOk = 1) and (gWickOk = 1) and (bWickOk = 1)...
Forum: EasyLanguage Programming September 21st, 2022, 10:45 AM
Replies: 11
Views: 3,462
Posted By gurji
I'm using this on tradestation, not MC. But let...

I'm using this on tradestation, not MC. But let me look at what you showed said first.
Forum: EasyLanguage Programming September 21st, 2022, 01:13 AM
Replies: 11
Views: 3,462
Posted By gurji
Ok, it is absolutely what I said. The trigger to...

Ok, it is absolutely what I said. The trigger to start the the trail stop order isn't working, because it is looking at the close price of the previous bar and not the current price of the current...
Forum: EasyLanguage Programming September 21st, 2022, 12:15 AM
Replies: 11
Views: 3,462
Posted By gurji
Ok, I see what the problem is, I just don't know...

Ok, I see what the problem is, I just don't know how to fix it.
PositionProfit or openPositionProfit both show the profit at the close of the previous candle. But show 0 for the current candle. So...
Forum: EasyLanguage Programming September 20th, 2022, 10:11 PM
Replies: 11
Views: 3,462
Posted By gurji
It is in a strategy. I'll try that and post...

It is in a strategy.
I'll try that and post back here.
Forum: EasyLanguage Programming September 20th, 2022, 05:40 PM
Replies: 11
Views: 3,462
Posted By gurji
Ok, my mistake. tgamt and slamt are dollar...

Ok, my mistake. tgamt and slamt are dollar amounts. Not ticks.
Regardless, that didn't solve it. I even changed the IF statement to check is Openpositionprofit is greater than 0, and it still...
Forum: EasyLanguage Programming September 20th, 2022, 10:44 AM
Replies: 11
Views: 3,462
Posted By gurji
Thanks, but something still not right. This is...

Thanks, but something still not right. This is what I have. tgamt is trigger amount in ticks for when to start the trail stop.
slamt is the stop loss amount in ticks.



SetStopLoss(slamt);...
Forum: EasyLanguage Programming September 20th, 2022, 01:19 AM
Replies: 11
Views: 3,462
Posted By gurji
I will try to make this as simple as I can. ...

I will try to make this as simple as I can.

I place a long order at $90.

My stop loss is $80.

My Target is $100.


Now I want to add a trail stop. So instead of the $100 target, I want...
Showing results 1 to 8 of 8

Have you been scammed by "Vinny Emini"?

 


 
 


© 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