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 262 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?
MC Advanced Simulated Trading.
MultiCharts
Brendt Skorupinsky
Trading Reviews and Vendors
How to plot a custom icon for crossover
NinjaTrader
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Help re translation of ninjascript to EL
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
ApexTraderFunding.com experience and review
56 thanks
What is Markets Chat (markets.chat) real-time trading ro …
41 thanks
Tao te Trade: way of the WLD
39 thanks
HumbleTraders next chapter
25 thanks
1 Minute Man
19 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: 77



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 - Sitemap - Downloads - Top
no new posts