-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAutoview_Alert_Generator.au3
36 lines (31 loc) · 1.5 KB
/
Autoview_Alert_Generator.au3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Outfile=Autoview_Alert_Generator.exe
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include 'ExtInputBox.au3'
$sData = _ExtInputBox("Autoview Alerts Generator", "Autoview account|Exchange|Trading coin|Trading against|Buy Qty %|Sell Qty %", "*|Binance|btc|usdt|95|95", "0")
;BUY
$Alert1Line1 = "Autoview Account: " & $sData[1] & ": Exchange: " & $sData[2] & " Trading: " & $sData[3] & "" & $sData[4] & ""
$Alert1Line2 = "a=" & $sData[1] & " e=" & $sData[2] & " s=" & $sData[3] & "" & $sData[4] & " c=order delay=5"
$Alert1Line3 = "a=" & $sData[1] & " e=" & $sData[2] & " s=" & $sData[3] & "" & $sData[4] & " b=buy q=" & $sData[5] & "% t=market"
;SELL
$Alert2Line1 = "Autoview Account:" & $sData[1] & " Exchange:" & $sData[2] & "trading:" & $sData[3] & "" & $sData[4] & ""
$Alert2Line2 = "a=" & $sData[1] & " e=" & $sData[2] & " s=" & $sData[3] & "" & $sData[4] & " c=order delay=5"
$Alert2Line3 = "a=" & $sData[1] & " e=" & $sData[2] & " s=" & $sData[3] & "" & $sData[4] & " b=sell q=" & $sData[6] & "% t=market"
Run("notepad.exe")
WinWaitActive("Untitled - Notepad")
Send("=========================================")
Send("{ENTER}")
Send($Alert1Line1)
Send("{ENTER}")
Send("=========================================")
Send("{ENTER}")
Send($Alert1Line2)
Send("{ENTER}")
Send($Alert1Line3)
Send("{ENTER}")
Send("{ENTER}")
Send($Alert2Line2)
Send("{ENTER}")
Send($Alert2Line3)
Send("{ENTER}")
Send("{ENTER}")