CryptoRox

[Alerts] - Moving Average Cross and/or Bbands bot

This is the alert script for :
We've included the basic alert syntax for Autoview automation. You can learn more about the syntax here: http://autoview.with.pink/#syntax and you can watch this video here: https://www.youtube.com/watch?v=epN5Tjin...
These settings are set, by default, to the lowest contracts allowed by Bitmex (at the time of this posting) to avoid a spam account.


You can learn more about Autoview here:
http://autoview.with.pink/

Get your invite and join us in slack here:
http://slack.with.pink/
發布通知: Revised to match the latest Strategy modifications.

Learn more :
從常用腳本中移除 新增至常用腳本

評論

Hey, dpnt work on my chart.
Just add it on favorits then open it in my chart
but false
Need to do something special to work ?
+6 回覆
HI, i´ve pasted the code in the pine editor but under the strategy tester tab there is nothing to show. It says to apply the strategy to the chart but it is already applied. I can access the settings, i chose altcoin and use moving average cross, but i can't access the backtesting in the strategy tester. Moreover the script plots a straight horizontal line at price zero, squeezing the candles in the upper part of the graph. What am I doing wrong? i would appreciate some help a lot, thanks.
+3 回覆
StefanoCrivellari StefanoCrivellari
@StefanoCrivellari, Never mind I figured it out!
+3 回覆
yolo12 StefanoCrivellari
@StefanoCrivellari, It would be good if you told everyone how you figured it out in case anyone has the same problem in future.
回覆
@yolo12, that is a great suggestion. The reason for this would be that this is solely the alert script which is only designed the plot a spike from 0 to 1 when there is a buy/sell signal. If you're looking for the strategy plots and backtesting, you need to add this script :
Keep in ming that all settings are default 0, so until you make some adjustments, nothing will appear.
+1 回覆
Hi ,
I am receiving continuous alerts in my scripts i.e two buy or two sell in a raw. I used pyramiding from this script but still it is happening. It would be really appreciated if anyone can fix my issue. I used this part:
// Count your long short conditions for more control with Pyramiding
sectionLongs = 0
sectionLongs := nz(sectionLongs)
sectionShorts = 0
sectionShorts := nz(sectionShorts)

if long
sectionLongs := sectionLongs + 1
sectionShorts := 0

if short
sectionLongs := 0
sectionShorts := sectionShorts + 1

// Pyramiding Inputs

pyrl = input(1, "Pyramiding less than") // If your count is less than this number
pyre = input(0, "Pyramiding equal to") // If your count is equal to this number
pyrg = input(1000000, "Pyramiding greater than") // If your count is greater than this number

// These check to see your signal and cross references it against the pyramiding settings above
longCondition = long and sectionLongs <= pyrl or long and sectionLongs >= pyrg or long and sectionLongs == pyre ? 1 : 0
shortCondition = short and sectionShorts <= pyrl or short and sectionShorts >= pyrg or short and sectionShorts == pyre ? 1 : 0

回覆
Hello, which part of this code is applicable to avoid consecutive buy and sell alerts? For example two or more continuous buy alerts in a row.
回覆
@CryptoRox Great scrips -once question, for the open Long/Short alertcondition you state "// For the opens, you will want to trigger these alerts on close." do you mean in the alert setting you select Open long/LongOpen as condition and set as Once per bar close?
回覆
Hey, thank you very much for this awesome script!! Works out pretty well.
I have two questions regarding the stop loss.
1) Is it possible to set an %-Value for the stop loss instead of the absolute value in the line "sl = input(10, "Stop Loss") / qty" ?
2) The stop loss is triggered very often because of the candlesticks. Is it possible to make it ignore the candlesticks and just work with the candle?
Cheers
回覆
if i enter the same settings in the alert script as in the strategy, the alert script has not the same signals. they match not always, i can see closes in the alert indicator but they are not on the chart.
i played around with the pyramiding and some other settings, but was not able to get it to a full sync.

how can i fix this?
回覆
首頁 股票篩選器 外匯篩選器 加密貨幣篩選器 全球財經日曆 如何運作 圖表功能 價格 推薦朋友 網站規則 幫助中心 網站 & 經紀商解決方案 小工具 圖表解決方案 輕量圖表庫 部落格 & 新聞 推特
概覽 個人資料設定 賬戶和賬單 推薦朋友 代幣 我的客服工單 幫助中心 發表的想法 粉絲 正在關注 私人訊息 在線聊天 登出