Welcome to the Traders Laboratory Forums.
Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Old 09-02-2010, 09:39 AM   #9

Tams's Avatar

Join Date: Sep 2008
Location: Geelong
Posts: 3,779
Ignore this user

Thanks: 2,084
Thanked 1,474 Times in 912 Posts

Re: How to Exit for or While Loop in Easylanguage?

Quote:
Originally Posted by BlowFish »
You live and learn - never realised that EL had a break statement, seem to recall early implementations did not though could very well be mistaken. What next a switch statement
Don't mean to say you are out of touch... but
yes, SWITCH is implemented.

Code:
Switch(Value1) 
Begin

    Case 1 to 5:
        Value2 = Value2 + 1;

    Case 10, 20, 30:
        Value3 = Highest(High,10);

    Case is > 40:
        Value3 = Value3 + 1;

    Default:
        Value5 = Value5 + 1;

End;
__________________



Only an idiot would reply to a stupid post
Tams is offline  
Reply With Quote

Reply

Thread Tools
Display Modes Help Others By Rating This Thread
Help Others By Rating This Thread:


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wide Range Bodies or 'big' candles brownsfan019 Volume Spread Analysis 193 12-12-2011 07:52 AM
Intrabar Exit, Easylanguage skan Coding Forum 5 07-29-2010 12:30 PM
Loops (EasyLanguage) Tams Coding Forum 26 11-27-2009 07:23 PM
Switch/Case (EasyLanguage) Tams Coding Forum 2 11-03-2009 01:06 AM
Chandelier Exit Discussion brownsfan019 Technical Analysis 9 04-03-2009 12:47 PM

All times are GMT -4. The time now is 03:02 PM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.