NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 7 of 7
Search: Posts Made By: djvie11
Forum: EasyLanguage Programming August 3rd, 2018, 01:35 PM
Replies: 12
Views: 4,052
Posted By djvie11
I suppose the downside of this is that it will ...

I suppose the downside of this is that it will literally only run the script once. I verified this via the Print function.

I was hoping that when MarketPosition switched back from 0/1/-1 it...
Forum: EasyLanguage Programming August 3rd, 2018, 01:30 PM
Replies: 12
Views: 4,052
Posted By djvie11
Thank you very much for that idea, Chris! And for...

Thank you very much for that idea, Chris! And for those interested, info about the "Once" Reserved word is on page 861 of this PDF:
...
Forum: EasyLanguage Programming August 3rd, 2018, 12:08 PM
Replies: 12
Views: 4,052
Posted By djvie11
WAIT, I think I have it: Vars: ...

WAIT, I think I have it:


Vars:
oldMarketPosition (0) ;

IF MarketPosition = 1 THEN BEGIN
oldMarketPosition = 1 ;
IF oldMarketPosition = 1 THEN Reset ;
oldMarketPosition = 0...
Forum: EasyLanguage Programming August 3rd, 2018, 11:57 AM
Replies: 12
Views: 4,052
Posted By djvie11
I guess what I'm trying to say is, I need a...

I guess what I'm trying to say is, I need a variable to "Turn ON for a bar, then OFF, then stay OFF." I.e, only reset it once when MarketPosition goes from 0 to <> 0 .

While that Variable is "ON"...
Forum: EasyLanguage Programming August 3rd, 2018, 10:56 AM
Replies: 12
Views: 4,052
Posted By djvie11
I see the reserved word "LastBarOnChart" which is...

I see the reserved word "LastBarOnChart" which is useful (references the currentBar).... but I can't seem to find something the references something like "PreviousBar."
Forum: EasyLanguage Programming August 3rd, 2018, 10:22 AM
Replies: 12
Views: 4,052
Posted By djvie11
Thank you, ABCTG. So basically it would say ...

Thank you, ABCTG.

So basically it would say

"If Last bar = TRUE and CurrentBar = FALSE THEN RESET"

I know how to reference the previous bar when referencing H/L H[1] / L[1] And the...
Forum: EasyLanguage Programming August 3rd, 2018, 09:24 AM
Replies: 12
Views: 4,052
Posted By djvie11
Way to Execute Something *Once,* Then Move On?

Hi Guys

For the life of me I can't figure this out. I have a couple of Variables that update continously. When the MarketPosition goes <> 0, I'd like to reset one of the Variables once, then start...
Showing results 1 to 7 of 7

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

Total votes: 159
 


 
 


© 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