Multichart 有lag這個function嗎 - 財經

By Yedda
at 2017-04-23T23:56
at 2017-04-23T23:56
Table of Contents
各位大大前輩大家好:
第一次在吹頂版發文求救,
最近想研究power language上寫些指標策略,
請問有大大知道可以在power language上,
寫lag這個function嗎?
像是以前一個或前兩個時間點的tick 指標(MA20, MA5)或者變數(Close Open)
進行比較,
類似 IF close < lag MA(close,5),
請問有大大可以指點怎麼將變數或指標變成前一時間點的值進行比較嗎?
謝謝大家!
--
第一次在吹頂版發文求救,
最近想研究power language上寫些指標策略,
請問有大大知道可以在power language上,
寫lag這個function嗎?
像是以前一個或前兩個時間點的tick 指標(MA20, MA5)或者變數(Close Open)
進行比較,
類似 IF close < lag MA(close,5),
請問有大大可以指點怎麼將變數或指標變成前一時間點的值進行比較嗎?
謝謝大家!
--
Tags:
財經
All Comments

By Jack
at 2017-04-24T12:12
at 2017-04-24T12:12

By Dinah
at 2017-04-26T22:50
at 2017-04-26T22:50

By Kelly
at 2017-04-30T21:17
at 2017-04-30T21:17
Related Posts
2017/04/10~04/14 超熱閒聊

By Charlie
at 2017-04-10T07:45
at 2017-04-10T07:45
有板友有用prorealtime這軟體程式交易嗎

By Ina
at 2017-04-08T23:50
at 2017-04-08T23:50
2017/04/05~04/07周閒聊

By Mia
at 2017-04-05T12:32
at 2017-04-05T12:32
2017/03/27~03/31週閒聊

By Andrew
at 2017-03-27T12:31
at 2017-03-27T12:31
2017/03/20~03/27 熱熱周閒聊

By Freda
at 2017-03-20T10:41
at 2017-03-20T10:41