-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8fa00bc
commit cf01238
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
**常用代码模板** | ||
|
||
开多代码信号模板 | ||
``` | ||
plotshape(condition1, text='▲', style=shape.labeldown, textcolor=color.white, color = color.green, location = location.abovebar, title = "开多") | ||
alertcondition(condition1 , title="CrossOver Double EMA Buy", message="CrossOver Double EMA Buy") | ||
``` | ||
|
||
开空代码信号模板 | ||
``` | ||
plotshape(condition2, text='▼', style=shape.labeldown, textcolor=color.white, color = color.red, location = location.abovebar, title = "开空") | ||
alertcondition(condition2 , title="CrossUnder Double EMA Sell", message="CrossUnder Double EMA Sell") | ||
``` | ||
|
||
平仓代码模板 | ||
``` | ||
plotshape(condition2, text='Cancel', style=shape.labeldown, textcolor=color.white, color = color.red, location = location.abovebar, title = "开空") | ||
alertcondition(condition2 , title="CrossUnder Double EMA Sell", message="CrossUnder Double EMA Sell") | ||
``` |