NexusFi: Find Your Edge


Home Menu

 





Is "ONCE" a powerlanguage keyword?


Discussion in MultiCharts

Updated
      Top Posters
    1. looks_one Sinatra Fan with 1 posts (0 thanks)
    2. looks_two BD00 with 1 posts (0 thanks)
    3. looks_3 toucan94506bm with 1 posts (0 thanks)
    4. looks_4 ShadowFox with 1 posts (0 thanks)
    1. trending_up 233 views
    2. thumb_up 0 thanks given
    3. group 4 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 
Sinatra Fan's Avatar
 Sinatra Fan 
Orlando FL
 
Experience: Intermediate
Platform: MultiCharts, Ninja
Trading: Emini ES
Posts: 67 since May 2019
Thanks Given: 7
Thanks Received: 9

I remember seeing code that used the word ONCE, but don't see it listed in the keyword reference. Is it a recognized word? I want to use it to read a set of starting instructions that are only needed to be read one time.

Once Begin
yada yada yada
End

Does anyone know if this is compliant with PL? Thanks

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Elite Trader Funding, Avoid?
Trading Reviews and Vendors
Brendt Skorupinsky
Trading Reviews and Vendors
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
How to plot a custom icon for crossover
NinjaTrader
MC PL editor upgrade
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
ApexTraderFunding.com experience and review
74 thanks
HumbleTraders next chapter
51 thanks
Winning attitudes create winning traders
39 thanks
Just another trading journal: PA, Wyckoff & Trends
36 thanks
Topstep experience and review
33 thanks
  #2 (permalink)
 
ShadowFox's Avatar
 ShadowFox 
CO/USA
 
Experience: Intermediate
Platform: TradeStation, Multicharts
Trading: Stocks, Futures
Posts: 129 since Jun 2020
Thanks Given: 70
Thanks Received: 157

It is. You have it exactly right

Once begin
Yada yada;
End;

Visit my NexusFi Trade Journal Reply With Quote
  #3 (permalink)
toucan94506bm
danville ca usa
 
Posts: 80 since Aug 2015
Thanks Given: 49
Thanks Received: 76



Sinatra Fan View Post
I remember seeing code that used the word ONCE, but don't see it listed in the keyword reference. Is it a recognized word? I want to use it to read a set of starting instructions that are only needed to be read one time.

Once Begin
yada yada yada
End

Does anyone know if this is compliant with PL? Thanks

i think that power language was initially based on tradestation easy language... and easy language has what you described... put it in a simple code like you have, verify/compile it to see if it exists and if so, then test to see if it executed one time or multiple times

toucan

Reply With Quote
  #4 (permalink)
BD00
Dallas Texas
 
Posts: 6 since Apr 2024
Thanks Given: 0
Thanks Received: 0


Sinatra Fan View Post
I remember seeing code that used the word ONCE, but don't see it listed in the keyword reference. Is it a recognized word? I want to use it to read a set of starting instructions that are only needed to be read one time.

Once Begin
yada yada yada
End

Does anyone know if this is compliant with PL? Thanks

yes it is

Reply With Quote




Last Updated on April 6, 2024


© 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
no new posts