futures io - Search Results
futures io


Showing results 1 to 25 of 25
Search: Posts Made By: gurji
Forum: EasyLanguage Programming September 21st, 2022, 11:55 AM
Replies: 11
Views: 470
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: 470
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: 470
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: 470
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: 470
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: 470
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: 470
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: 470
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...
Forum: EasyLanguage Programming September 18th, 2022, 09:49 PM
Replies: 4
Views: 544
Posted By gurji
I'll take a look at that, thanks!

I'll take a look at that, thanks!
Forum: EasyLanguage Programming September 18th, 2022, 09:49 PM
Replies: 4
Views: 544
Posted By gurji
I think you hit the nail on the head about being...

I think you hit the nail on the head about being a programmer or not. I am a programmer, and ,maybe that's why I don't like it. I like pine script in tradingview a lot better, although it also has...
Forum: EasyLanguage Programming September 15th, 2022, 11:11 AM
Replies: 119
Views: 8,911
Posted By gurji
Thanks, I will look at what they offer.

Thanks, I will look at what they offer.
Forum: EasyLanguage Programming September 15th, 2022, 10:37 AM
Replies: 119
Views: 8,911
Posted By gurji
Hi, let me clarify it a little better. For CL, it...

Hi, let me clarify it a little better. For CL, it is after the spread and broker fees that the avg win is $30. It has set a minimum win of 7 ticks which covers the spread and fees. You can easily...
Forum: EasyLanguage Programming September 15th, 2022, 01:21 AM
Replies: 4
Views: 479
Posted By gurji
In the strategy I am using, WMA produces better...

In the strategy I am using, WMA produces better results than SMA.
But after further testing, I found that RMA is even better. So now I am trying to find a function for RMA, but I don't see it there.
Forum: EasyLanguage Programming September 15th, 2022, 01:04 AM
Replies: 119
Views: 8,911
Posted By gurji
Hey Guys, I am new to this forum and just saw...

Hey Guys, I am new to this forum and just saw this post. I have been trading almost exclusively CL, and I have been working on a strategy using tradingview for the past 2 months. I am in the...
Forum: EasyLanguage Programming September 15th, 2022, 12:39 AM
Replies: 4
Views: 479
Posted By gurji
Awesome thanks! Since I have your attention, do...

Awesome thanks! Since I have your attention, do you know which function or any way to get it based on the RMA like tradingview uses?
Forum: EasyLanguage Programming September 14th, 2022, 11:54 AM
Replies: 4
Views: 479
Posted By gurji
ATR using WMA instead of SMA

I have been trying unsuccessfully in getting the ATR calculated using WMA in easylanguage/tradestation. Their built in ATR study uses the SMA method, and that's it. No way to change it that I can...
Forum: EasyLanguage Programming September 12th, 2022, 03:08 PM
Replies: 4
Views: 544
Posted By gurji
Strategy question - client vs server

I started to use easylanguage/tradestation. Honestly, I can't stand it. But it is what it is. I think TOS and TV are infinitely more intuitive. TS feels like it was designed for windows 95.
...
Forum: EasyLanguage Programming September 8th, 2022, 10:39 PM
Replies: 4
Views: 566
Posted By gurji
Ok, I solved the issue. Hopefully this might...

Ok, I solved the issue. Hopefully this might help someone else.
Basically, I wrote the IF statements to test for zero in a different way using <> 0 instead of > 0, and also I put the test around...
Forum: EasyLanguage Programming September 8th, 2022, 09:53 PM
Replies: 4
Views: 566
Posted By gurji
Hi, thanks for the reply, but thats not it. ...

Hi, thanks for the reply, but thats not it.

I just confirmed a that when a number divided by a number with a decimal WHEN USING a VARIABLE, causes the error.

So for example, right now, I have...
Forum: EasyLanguage Programming September 8th, 2022, 06:30 PM
Replies: 4
Views: 566
Posted By gurji
Divide By Zero Error even though I am checking first

Hi all,

I'm still new to easylanguage, but I can't figure this out.

I keep getting a divide by zero error even though the very first thing I am doing is to test if any of the denominators is 0....
Forum: EasyLanguage Programming September 8th, 2022, 06:25 PM
Replies: 5
Views: 560
Posted By gurji
Hi, thanks! You solved the issue. Much clearer...

Hi, thanks! You solved the issue. Much clearer now.
Forum: EasyLanguage Programming September 8th, 2022, 01:51 PM
Replies: 5
Views: 560
Posted By gurji
Ok, I realized just now that you also move the...

Ok, I realized just now that you also move the profit to the final IF statement too. I think I get it all now. I will post an update shortly.
Forum: EasyLanguage Programming September 8th, 2022, 01:46 PM
Replies: 5
Views: 560
Posted By gurji
Hi, thanks for the help. It was getting set to...

Hi, thanks for the help.
It was getting set to 0, but that was in the initial declaration of my variables. The way I understand this, is that TS basically runs the script once per bar. So I guess...
Forum: EasyLanguage Programming September 8th, 2022, 11:34 AM
Replies: 5
Views: 560
Posted By gurji
Ok, I found a solution, but from a logical...

Ok, I found a solution, but from a logical standpoint, I don't understand why it should be this way.

Immediately above the 2 IF statements, I put another IF statement with the same criteria,...
Forum: EasyLanguage Programming September 8th, 2022, 09:52 AM
Replies: 5
Views: 560
Posted By gurji
Beginner EasyLanguage Question on Variables

Hi, I just started messing around with EasyLanguage. I am just trying to put a small test strategy together for myself just to teach myself how this all works.
So in this example, I am trying to...
Showing results 1 to 25 of 25

Uncertainty & Recent Volatility: Good or Bad for your own personal trading?

Total votes: 724
 

 
 


Copyright © 2022 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), info@futures.io
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.