Rank: Newbie
Groups: Registered, Registered Users Joined: 1/20/2013(UTC) Posts: 4
|
Hello,
I need some function that sells in a variable price indicated in this formula: fml("sell")
This formula is represented Buyprice * %volatility . But I don't know how isolate this valor and recognize the buy signal (close price).
Is it possible to create a formula like this? If Developers kit is necessary, I have it, but I don't know how to use heheh. I just know that need a delphi or c++ builder.
Thanks for your attention
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
Have a look in the downloads section of the forum for Roy Larsen's excellent tutorial on using PREV based latches in MS, specifically the latch code which "remembers" the trade entry price.
wabbit [:D]
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 1/20/2013(UTC) Posts: 4
|
thanks for the answer wabbit, but it doesn't work.
Its complicated what I want. I'm using tradesim to test my system, and my system has 2 exits. The second exit works using some functions, but the first exit its necessary the function variable exit, but my tradesim version just have the function using % target. I need a exit based on volatility %.
The problem is the price of the actual version of tradesim hahaha.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
Huh? I don't understand?
wabbit [:D]
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 1/20/2013(UTC) Posts: 4
|
Entryprice:= fml("buy")=1
Exitprice:= (((0.1*fml("volatility"))/100)+1)*Entryprice
The problem is: the exit price is variable, and I need to fix the target, to the moment that occur the buy signal.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
Add to the end of the code:
Code:
exitprice:=valuewhen(1,entryprice,exitprice);
wabbit[:D]
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Unverified Users Joined: 7/12/2007(UTC) Posts: 134 Location: Perth Western Australia
|
Doskias wrote:thanks for the answer wabbit, but it doesn't work. Its complicated what I want. I'm using tradesim to test my system, and my system has 2 exits. The second exit works using some functions, but the first exit its necessary the function variable exit, but my tradesim version just have the function using % target. I need a exit based on volatility %. The problem is the price of the actual version of tradesim hahaha.
Check on the TradeSim website but I'm positive an existing owner of the software can download the latest version without charge.
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 1/20/2013(UTC) Posts: 4
|
Thanks for the answer wabbit, I will test...
Oztrader, I will check the possibility. Thanks.
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.