NexusFi: Find Your Edge


Home Menu

 





Is "ONCE" a powerlanguage keyword?


Discussion in MultiCharts

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




 
Search this Thread

Is "ONCE" a powerlanguage keyword?

  #1 (permalink)
 
Sinatra Fan's Avatar
 Sinatra Fan 
Orlando FL
 
Experience: Intermediate
Platform: MultiCharts, Ninja
Trading: Emini ES
Posts: 66 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?
Cheap historycal L1 data for stocks
Stocks and ETFs
Trade idea based off three indicators.
Traders Hideout
REcommedations for programming help
Sierra Chart
MC PL editor upgrade
MultiCharts
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
What is Markets Chat (markets.chat) real-time trading ro …
70 thanks
Spoo-nalysis ES e-mini futures S&P 500
55 thanks
Bigger Wins or Fewer Losses?
24 thanks
Just another trading journal: PA, Wyckoff & Trends
24 thanks
The Program
20 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: 73 since Aug 2015
Thanks Given: 48
Thanks Received: 75



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