在這個頁面顯示本主題全部的 2 個文章 |
奇狐社區論壇 (http://www.chiefox.com.tw/bbs/index.php)
- [進階教學] (http://www.chiefox.com.tw/bbs/forumdisplay.php?forumid=46)
-- 02. 終止公式執行 EXIT 《適用4.0版》 (http://www.chiefox.com.tw/bbs/showthread.php?threadid=2647)
02. 終止公式執行 EXIT 《適用4.0版》
【語句】EXIT
【用途】
用於終止公式的執行 執行到此命令後會立即跳離公式,不再繼續執行後面的命令 |
EXIT |
【範例】
利用參數N來調整均線的數量
MA1:ma(close,P1); if N=1 then exit; MA2:ma(close,P2); if N=2 then exit; MA3:ma(close,P3); if N=3 then exit; MA4:ma(close,P4); if N=4 then exit; MA5:ma(close,P5); |
全部時間均為台灣時間, 現在時間為10:35 | 在這個頁面顯示本主題全部的 2 個文章 |
Powered by: vBulletin Version 2.3.0 - Copyright©2000-, Jelsoft Enterprises Limited.
簡愛洋行 製作 Copyright 2003-. All Rights Reserved.